diff options
author | nkostylev@chromium.org <nkostylev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-21 19:29:05 +0000 |
---|---|---|
committer | nkostylev@chromium.org <nkostylev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-21 19:29:05 +0000 |
commit | 77b068f9a6b46531e3155f77e4832ce26cfe966f (patch) | |
tree | 281d66a35df29f7cac6ab421b4ffa314c6a79b1d /chrome/browser/profiles | |
parent | 11e1ac30c0e2c345b02f854386bca42725e41e37 (diff) | |
download | chromium_src-77b068f9a6b46531e3155f77e4832ce26cfe966f.zip chromium_src-77b068f9a6b46531e3155f77e4832ce26cfe966f.tar.gz chromium_src-77b068f9a6b46531e3155f77e4832ce26cfe966f.tar.bz2 |
[cros] Make sure that sync service is not accessed when loading pages before user has signed in.
BUG=chromium-os:10437
TEST=Manual
Review URL: http://codereview.chromium.org/5984004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69853 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profiles')
-rw-r--r-- | chrome/browser/profiles/profile_impl.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc index c0bf8f6..2c610e19 100644 --- a/chrome/browser/profiles/profile_impl.cc +++ b/chrome/browser/profiles/profile_impl.cc @@ -291,9 +291,12 @@ ProfileImpl::ProfileImpl(const FilePath& path) registrar_.Add(this, NotificationType::THEME_INSTALLED, Source<Profile>(GetOriginalProfile())); +#if !defined(OS_CHROMEOS) // Listen for bookmark model load, to bootstrap the sync service. + // On CrOS sync service will be initialized after sign in. registrar_.Add(this, NotificationType::BOOKMARK_MODEL_LOADED, Source<Profile>(this)); +#endif ssl_config_service_manager_.reset( SSLConfigServiceManager::CreateDefaultManager(this)); |