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

Unified Diff: chrome/browser/profile.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
« no previous file with comments | « chrome/browser/managed_prefs_banner_base.cc ('k') | chrome/browser/profile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profile.h
diff --git a/chrome/browser/profile.h b/chrome/browser/profile.h
index e462b6c225507dd437e5236efc3dd1d3f02cde6c..e0837cd08ed50b89e3804e016da4600dbea0d6ec 100644
--- a/chrome/browser/profile.h
+++ b/chrome/browser/profile.h
@@ -448,6 +448,10 @@ class Profile {
return 0 == accessibility_pause_level_;
}
+ // Checks whether sync is configurable by the user. Returns false if sync is
+ // disabled or controlled by configuration management.
+ bool IsSyncAccessible();
+
protected:
static URLRequestContextGetter* default_request_context_;
« no previous file with comments | « chrome/browser/managed_prefs_banner_base.cc ('k') | chrome/browser/profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698