Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(306)

Side by Side Diff: chrome/browser/policy/dummy_cloud_policy_provider.cc

Issue 7147015: Move user cloud policy to BrowserProcess (was 6979011) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix unit_test include breakage Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/policy/dummy_cloud_policy_provider.h"
6
7 namespace policy {
8
9 DummyCloudPolicyProvider::DummyCloudPolicyProvider(
10 const PolicyDefinitionList* policy_list)
11 : CloudPolicyProvider(policy_list) {
12 }
13
14 DummyCloudPolicyProvider::~DummyCloudPolicyProvider() {
15 FOR_EACH_OBSERVER(ConfigurationPolicyProvider::Observer,
16 observer_list_,
17 OnProviderGoingAway());
18 }
19
20 void DummyCloudPolicyProvider::AppendCache(CloudPolicyCacheBase* cache) {
21 }
22
23 void DummyCloudPolicyProvider::PrependCache(CloudPolicyCacheBase* cache) {
24 }
25
26 bool DummyCloudPolicyProvider::Provide(
27 ConfigurationPolicyStoreInterface* store) {
28 return true;
29 }
30 void DummyCloudPolicyProvider::AddObserver(
31 ConfigurationPolicyProvider::Observer* observer) {
32 observer_list_.AddObserver(observer);
33 }
34
35 void DummyCloudPolicyProvider::RemoveObserver(
36 ConfigurationPolicyProvider::Observer* observer) {
37 observer_list_.RemoveObserver(observer);
38 }
39
40 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/policy/dummy_cloud_policy_provider.h ('k') | chrome/browser/policy/profile_policy_connector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698