chromium/services/service_manager/public/cpp/service_filter.cc

// 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.

#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;

// static
ServiceFilter ServiceFilter::ByName(const std::string& service_name) {}

// static
ServiceFilter ServiceFilter::ByNameWithId(const std::string& service_name,
                                          const base::Token& instance_id) {}

// static
ServiceFilter ServiceFilter::ByNameInGroup(const std::string& service_name,
                                           const base::Token& instance_group) {}

// static
ServiceFilter ServiceFilter::ByNameWithIdInGroup(
    const std::string& service_name,
    const base::Token& instance_id,
    const base::Token& instance_group) {}

// static
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)
    :{}

}  // namespace service_manager