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

// Copyright 2013 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/mock_configuration_policy_provider.h"

#include <memory>
#include <string>
#include <utility>

#include "base/run_loop.h"
#include "base/task/current_thread.h"
#include "build/build_config.h"
#include "components/policy/core/common/policy_bundle.h"

Invoke;

namespace policy {

MockConfigurationPolicyProvider::MockConfigurationPolicyProvider() = default;

MockConfigurationPolicyProvider::~MockConfigurationPolicyProvider() {}

void MockConfigurationPolicyProvider::UpdateChromePolicy(
    const PolicyMap& policy) {}

void MockConfigurationPolicyProvider::UpdateExtensionPolicy(
    const PolicyMap& policy,
    const std::string& extension_id) {}

void MockConfigurationPolicyProvider::SetAutoRefresh() {}

void MockConfigurationPolicyProvider::RefreshWithSamePolicies() {}

void MockConfigurationPolicyProvider::OnPolicyUpdated(
    const policy::PolicyNamespace& ns,
    const policy::PolicyMap& previous,
    const policy::PolicyMap& current) {}

void MockConfigurationPolicyProvider::WaitForPoliciesUpdated(
    policy::PolicyDomain domain) {}

void MockConfigurationPolicyProvider::SetupPolicyServiceForPolicyUpdates(
    policy::PolicyService* policy_service) {}

MockConfigurationPolicyObserver::MockConfigurationPolicyObserver() = default;

MockConfigurationPolicyObserver::~MockConfigurationPolicyObserver() = default;

}  // namespace policy