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

Unified Diff: components/signin/core/browser/account_tracker_service.cc

Issue 1256283002: GAIA ID migration for Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update Created 5 years, 3 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 | « components/signin/core/browser/account_tracker_service.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/signin/core/browser/account_tracker_service.cc
diff --git a/components/signin/core/browser/account_tracker_service.cc b/components/signin/core/browser/account_tracker_service.cc
index 5c889241054de155e3000e637059c2725f44b441..59250336be5f8e3441a95696233a8784d760b846 100644
--- a/components/signin/core/browser/account_tracker_service.cc
+++ b/components/signin/core/browser/account_tracker_service.cc
@@ -254,7 +254,7 @@ void AccountTrackerService::SetIsChildAccount(const std::string& account_id,
}
bool AccountTrackerService::IsMigratable() {
-#if !defined(OS_ANDROID) && !defined(OS_CHROMEOS)
+#if !defined(OS_CHROMEOS)
for (std::map<std::string, AccountState>::const_iterator it =
accounts_.begin();
it != accounts_.end(); ++it) {
@@ -501,3 +501,7 @@ void AccountTrackerService::SeedAccountInfo(AccountInfo info) {
SaveToPrefs(state);
}
}
+
+void AccountTrackerService::RemoveAccount(const std::string& account_id) {
+ StopTrackingAccount(account_id);
+}
« no previous file with comments | « components/signin/core/browser/account_tracker_service.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698