[go: nahoru, domu]

blob: c507f696562c3e879e9d68aa894d3ce4d058c539 [file] [log] [blame]
// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module service_manager.mojom;
import "mojo/public/mojom/base/token.mojom";
// A ServiceFilter is used with APIs like |Connector.BindInterface()| to
// indicate to the Service Manager which service instance(s) a request is
// intended for. Generally a ServiceFilter is used by the Service Manager to
// match against the Identity of each running service instance in order to
// perform some operation on that instance.
//
// The fields here correspond in meaning to the ones defined by Identity. See
// the comments there for more details. Note that if |globally_unique_id| is
// present, all other fields must be present as well.
struct ServiceFilter {
string service_name;
mojo_base.mojom.Token? instance_group;
mojo_base.mojom.Token? instance_id;
mojo_base.mojom.Token? globally_unique_id;
};