summaryrefslogtreecommitdiffstats
path: root/chrome/browser/policy/policy_service_stub.cc
blob: ff47864defd8608db2e59096473b5666ee9eb20b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/policy/policy_service_stub.h"

namespace policy {

PolicyServiceStub::PolicyServiceStub() {}

PolicyServiceStub::~PolicyServiceStub() {}

void PolicyServiceStub::AddObserver(PolicyDomain domain,
                                    const std::string& component_id,
                                    Observer* observer) {}

void PolicyServiceStub::RemoveObserver(PolicyDomain domain,
                                       const std::string& component_id,
                                       Observer* observer) {}

const PolicyMap* PolicyServiceStub::GetPolicies(
    PolicyDomain domain,
    const std::string& component_id) const {
  return NULL;
};

}  // namespace policy