// 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. #ifndef SERVICES_SERVICE_MANAGER_PUBLIC_CPP_SERVICE_FILTER_H_ #define SERVICES_SERVICE_MANAGER_PUBLIC_CPP_SERVICE_FILTER_H_ #include <optional> #include <string> #include "base/component_export.h" #include "base/token.h" #include "services/service_manager/public/cpp/identity.h" namespace service_manager { // 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. class COMPONENT_EXPORT(SERVICE_MANAGER_CPP_TYPES) ServiceFilter { … }; } // namespace service_manager #endif // SERVICES_SERVICE_MANAGER_PUBLIC_CPP_SERVICE_FILTER_H_