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

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: m Created 7 years, 8 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 843f5b2e17f406e19477a1e3b8b4e158f10a7414..e77c9c52923be948d6bf0d280e18c8a7f653414b 100644
--- a/chrome/browser/chromeos/login/user_manager_impl.cc
+++ b/chrome/browser/chromeos/login/user_manager_impl.cc
@@ -723,6 +723,7 @@ void UserManagerImpl::Observe(int type,
!IsLoggedInAsLocallyManagedUser()) {
Profile* profile = content::Source<Profile>(source).ptr();
if (!profile->IsOffTheRecord() &&
+ // TODO(nkostylev): We should observe all logged in user's profiles.
profile == ProfileManager::GetDefaultProfile()) {
DCHECK(NULL == observed_sync_service_);
observed_sync_service_ =
« no previous file with comments | « chrome/browser/chromeos/login/screens/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