chromium/components/policy/core/common/policy_service_stub.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/policy/core/common/policy_service_stub.h"

#include "components/policy/core/common/policy_types.h"

namespace policy {

PolicyServiceStub::PolicyServiceStub() = default;
PolicyServiceStub::~PolicyServiceStub() = default;

void PolicyServiceStub::AddObserver(PolicyDomain domain, Observer* observer) {}

void PolicyServiceStub::RemoveObserver(PolicyDomain domain,
                                       Observer* observer) {}

void PolicyServiceStub::AddProviderUpdateObserver(ProviderUpdateObserver*) {}
void PolicyServiceStub::RemoveProviderUpdateObserver(ProviderUpdateObserver*) {}

bool PolicyServiceStub::HasProvider(ConfigurationPolicyProvider*) const {}

bool PolicyServiceStub::IsFirstPolicyLoadComplete(PolicyDomain) const {}

const PolicyMap& PolicyServiceStub::GetPolicies(
    const PolicyNamespace& ns) const {}

bool PolicyServiceStub::IsInitializationComplete(PolicyDomain domain) const {}

void PolicyServiceStub::RefreshPolicies(base::OnceClosure callback,
                                        PolicyFetchReason reason) {}

}  // namespace policy