#include "services/service_manager/public/cpp/service_filter.h"
#include "base/check.h"
namespace service_manager {
ServiceFilter::ServiceFilter() = default;
ServiceFilter::ServiceFilter(const ServiceFilter&) = default;
ServiceFilter::ServiceFilter(ServiceFilter&&) = default;
ServiceFilter::ServiceFilter(const Identity& identity)
: … { … }
ServiceFilter::~ServiceFilter() = default;
ServiceFilter& ServiceFilter::operator=(const ServiceFilter& other) = default;
ServiceFilter ServiceFilter::ByName(const std::string& service_name) { … }
ServiceFilter ServiceFilter::ByNameWithId(const std::string& service_name,
const base::Token& instance_id) { … }
ServiceFilter ServiceFilter::ByNameInGroup(const std::string& service_name,
const base::Token& instance_group) { … }
ServiceFilter ServiceFilter::ByNameWithIdInGroup(
const std::string& service_name,
const base::Token& instance_id,
const base::Token& instance_group) { … }
ServiceFilter ServiceFilter::ForExactIdentity(const Identity& identity) { … }
bool ServiceFilter::operator<(const ServiceFilter& other) const { … }
ServiceFilter::ServiceFilter(
const std::string& service_name,
const std::optional<base::Token>& instance_group,
const std::optional<base::Token>& instance_id,
const std::optional<base::Token>& globally_unique_id)
: … { … }
}