diff options
author | mnissler@chromium.org <mnissler@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-14 07:45:59 +0000 |
---|---|---|
committer | mnissler@chromium.org <mnissler@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-14 07:45:59 +0000 |
commit | d3b98c88fa50c3b6bf4644570220cf93f8ca9bea (patch) | |
tree | e2fdf54cee2d8546526ed9aca724e9f957d0fb2b /chrome/browser/profile.h | |
parent | 9473a8d2db6780ecac153c65ba8200cdb0eeb1bd (diff) | |
download | chromium_src-d3b98c88fa50c3b6bf4644570220cf93f8ca9bea.zip chromium_src-d3b98c88fa50c3b6bf4644570220cf93f8ca9bea.tar.gz chromium_src-d3b98c88fa50c3b6bf4644570220cf93f8ca9bea.tar.bz2 |
Implement support for disabling sync through configuration management.
BUG=45316
TEST=Configure SyncDisabled policy and check the UI.
Review URL: http://codereview.chromium.org/2905003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52288 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile.h')
-rw-r--r-- | chrome/browser/profile.h | 4 |
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_; |