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

Unified Diff: chrome/browser/signin/account_tracker_service_factory.cc

Issue 475763005: Add flag to track migration from email to gaia id. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 4 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 | « no previous file | components/signin/core/browser/account_tracker_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/signin/account_tracker_service_factory.cc
diff --git a/chrome/browser/signin/account_tracker_service_factory.cc b/chrome/browser/signin/account_tracker_service_factory.cc
index 12964277b36926c0629502e1aa124acfe06ec9e7..186983487d9c0abb2f526a1f4388344be3a2c510 100644
--- a/chrome/browser/signin/account_tracker_service_factory.cc
+++ b/chrome/browser/signin/account_tracker_service_factory.cc
@@ -11,6 +11,7 @@
#include "components/pref_registry/pref_registry_syncable.h"
#include "components/signin/core/browser/account_tracker_service.h"
#include "components/signin/core/browser/profile_oauth2_token_service.h"
+#include "components/signin/core/common/signin_pref_names.h"
AccountTrackerServiceFactory::AccountTrackerServiceFactory()
: BrowserContextKeyedServiceFactory(
@@ -39,6 +40,10 @@ void AccountTrackerServiceFactory::RegisterProfilePrefs(
registry->RegisterListPref(
AccountTrackerService::kAccountInfoPref,
user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
+ registry->RegisterIntegerPref(
+ prefs::kAccountIdMigrationState,
+ AccountTrackerService::MIGRATION_NOT_STARTED,
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
}
KeyedService* AccountTrackerServiceFactory::BuildServiceInstanceFor(
« no previous file with comments | « no previous file | components/signin/core/browser/account_tracker_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698