summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profile.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/profile.h')
-rw-r--r--chrome/browser/profile.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/profile.h b/chrome/browser/profile.h
index 59019cb..16bea36 100644
--- a/chrome/browser/profile.h
+++ b/chrome/browser/profile.h
@@ -452,6 +452,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_;