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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/configuration_policy_pref_store.h
diff --git a/chrome/browser/configuration_policy_pref_store.h b/chrome/browser/configuration_policy_pref_store.h
index b87f421763989d5b4cc286e77df597c5dbbed874..5035cba333e23f0bbbf48356ff99610d9d5b61c0 100644
--- a/chrome/browser/configuration_policy_pref_store.h
+++ b/chrome/browser/configuration_policy_pref_store.h
@@ -85,8 +85,11 @@ class ConfigurationPolicyPrefStore : public PrefStore,
// of |value| in the case that the policy is proxy-specific.
bool ApplyProxyPolicy(PolicyType policy, Value* value);
+ // Handles sync-related policies. Returns true if the policy was handled.
+ // Assumes ownership of |value| in that case.
+ bool ApplySyncPolicy(PolicyType policy, Value* value);
+
DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyPrefStore);
};
#endif // CHROME_BROWSER_CONFIGURATION_POLICY_PREF_STORE_H_
-
« 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