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

Unified Diff: chrome/browser/chromeos/login/user_manager_impl.cc

Issue 13633003: Part of multiprofile implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Destroying signin profile after session start. Created 7 years, 9 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
Index: chrome/browser/chromeos/login/user_manager_impl.cc
diff --git a/chrome/browser/chromeos/login/user_manager_impl.cc b/chrome/browser/chromeos/login/user_manager_impl.cc
index 546e47b72172190eed504978d71be710ea357d0a..376f1640fdce533b3458abdaeafecba478c61656 100644
--- a/chrome/browser/chromeos/login/user_manager_impl.cc
+++ b/chrome/browser/chromeos/login/user_manager_impl.cc
@@ -655,6 +655,8 @@ void UserManagerImpl::Observe(int type,
!IsLoggedInAsLocallyManagedUser()) {
Profile* profile = content::Source<Profile>(source).ptr();
if (!profile->IsOffTheRecord() &&
+ // TODO(nkostylev): Mayby we should observe all logged in user's
Nikita (slow) 2013/04/08 13:09:44 nit: Drop Maybe
dzhioev (left Google) 2013/04/11 15:26:47 Done.
+ // profiles.
profile == ProfileManager::GetDefaultProfile()) {
DCHECK(NULL == observed_sync_service_);
observed_sync_service_ =
« no previous file with comments | « chrome/browser/chromeos/login/terms_of_service_screen.cc ('k') | chrome/browser/chromeos/login/webui_login_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698