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

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

Issue 8586030: Added ConfigurationPolicyProvider::RefreshPolicies. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 9 years, 1 month 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
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/policy/mock_configuration_policy_provider.h" 5 #include "chrome/browser/policy/mock_configuration_policy_provider.h"
6 6
7 #include "chrome/browser/policy/configuration_policy_pref_store.h" 7 #include "chrome/browser/policy/configuration_policy_pref_store.h"
8 #include "policy/policy_constants.h" 8 #include "policy/policy_constants.h"
9 9
10 namespace policy { 10 namespace policy {
(...skipping 22 matching lines...) Expand all
33 33
34 bool MockConfigurationPolicyProvider::ProvideInternal(PolicyMap* policies) { 34 bool MockConfigurationPolicyProvider::ProvideInternal(PolicyMap* policies) {
35 policies->CopyFrom(policy_map_); 35 policies->CopyFrom(policy_map_);
36 return true; 36 return true;
37 } 37 }
38 38
39 bool MockConfigurationPolicyProvider::IsInitializationComplete() const { 39 bool MockConfigurationPolicyProvider::IsInitializationComplete() const {
40 return initialization_complete_; 40 return initialization_complete_;
41 } 41 }
42 42
43 void MockConfigurationPolicyProvider::RefreshPolicies() {
44 NotifyPolicyUpdated();
45 }
46
47 MockConfigurationPolicyObserver::MockConfigurationPolicyObserver() {}
48
49 MockConfigurationPolicyObserver::~MockConfigurationPolicyObserver() {}
50
43 } // namespace policy 51 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/policy/mock_configuration_policy_provider.h ('k') | chrome/browser/policy/network_configuration_updater.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698