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

Unified Diff: chrome/browser/supervised_user/legacy/supervised_user_sync_service.cc

Issue 2511703004: [Sync] Remove UIDataTypeController (Closed)
Patch Set: Address comments Created 4 years, 1 month 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
Index: chrome/browser/supervised_user/legacy/supervised_user_sync_service.cc
diff --git a/chrome/browser/supervised_user/legacy/supervised_user_sync_service.cc b/chrome/browser/supervised_user/legacy/supervised_user_sync_service.cc
index 576787d1110ae9d4934cacbead7642cbb521a566..62b3ce4b58abb70801c3a022ea852e99d367438c 100644
--- a/chrome/browser/supervised_user/legacy/supervised_user_sync_service.cc
+++ b/chrome/browser/supervised_user/legacy/supervised_user_sync_service.cc
@@ -551,8 +551,6 @@ SyncError SupervisedUserSyncService::ProcessSyncChanges(
void SupervisedUserSyncService::GoogleSignedOut(
const std::string& account_id,
const std::string& username) {
- DCHECK(!sync_processor_);
Marc Treib 2016/11/22 09:05:59 Why this change?
pavely 2016/11/22 19:17:52 GoogleSignedOut is called synchronously to both Pr
Marc Treib 2016/11/23 09:16:14 Thanks for the explanation!
-
// Clear all data on signout, to avoid supervised users from one custodian
// appearing in another one's profile.
prefs_->ClearPref(prefs::kSupervisedUsers);

Powered by Google App Engine
This is Rietveld 408576698