Index: chrome/browser/profiles/profile_io_data.cc |
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc |
index 37b24d5d7fb7c45a89144e8bcbf15eecd34c05d8..0d2b2bea10be1b3a640fb4fd585134727d088174 100644 |
--- a/chrome/browser/profiles/profile_io_data.cc |
+++ b/chrome/browser/profiles/profile_io_data.cc |
@@ -319,6 +319,9 @@ void ProfileIOData::InitializeOnUIThread(Profile* profile) { |
sync_disabled_.Init(prefs::kSyncManaged, pref_service); |
sync_disabled_.MoveToThread(io_message_loop_proxy); |
+ |
+ signin_allowed_.Init(prefs::kSigninAllowed, pref_service); |
+ signin_allowed_.MoveToThread(io_message_loop_proxy); |
} |
// The URLBlacklistManager has to be created on the UI thread to register |
@@ -774,6 +777,7 @@ void ProfileIOData::ShutdownOnUIThread() { |
safe_browsing_enabled_.Destroy(); |
printing_enabled_.Destroy(); |
sync_disabled_.Destroy(); |
+ signin_allowed_.Destroy(); |
session_startup_pref_.Destroy(); |
#if defined(ENABLE_CONFIGURATION_POLICY) |
if (url_blacklist_manager_.get()) |