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

Side by Side Diff: chrome/browser/configuration_policy_pref_store.h

Issue 2905003: Implement support for disabling sync through configuration management. (Closed)
Patch Set: Fix PrefsControllerTest on MAC. Created 10 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #ifndef CHROME_BROWSER_CONFIGURATION_POLICY_PREF_STORE_H_ 5 #ifndef CHROME_BROWSER_CONFIGURATION_POLICY_PREF_STORE_H_
6 #define CHROME_BROWSER_CONFIGURATION_POLICY_PREF_STORE_H_ 6 #define CHROME_BROWSER_CONFIGURATION_POLICY_PREF_STORE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 void ApplyProxySwitches(); 78 void ApplyProxySwitches();
79 79
80 bool ApplyPolicyFromMap(PolicyType policy, Value* value, 80 bool ApplyPolicyFromMap(PolicyType policy, Value* value,
81 const PolicyToPreferenceMapEntry map[], int size); 81 const PolicyToPreferenceMapEntry map[], int size);
82 82
83 // Processes proxy-specific policies. Returns true if the specified policy 83 // Processes proxy-specific policies. Returns true if the specified policy
84 // is a proxy-related policy. ApplyProxyPolicy assumes the ownership 84 // is a proxy-related policy. ApplyProxyPolicy assumes the ownership
85 // of |value| in the case that the policy is proxy-specific. 85 // of |value| in the case that the policy is proxy-specific.
86 bool ApplyProxyPolicy(PolicyType policy, Value* value); 86 bool ApplyProxyPolicy(PolicyType policy, Value* value);
87 87
88 // Handles sync-related policies. Returns true if the policy was handled.
89 // Assumes ownership of |value| in that case.
90 bool ApplySyncPolicy(PolicyType policy, Value* value);
91
88 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyPrefStore); 92 DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyPrefStore);
89 }; 93 };
90 94
91 #endif // CHROME_BROWSER_CONFIGURATION_POLICY_PREF_STORE_H_ 95 #endif // CHROME_BROWSER_CONFIGURATION_POLICY_PREF_STORE_H_
92
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/preferences_window_controller.mm ('k') | chrome/browser/configuration_policy_pref_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698