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

Unified Diff: chrome/browser/profiles/profiles_state.cc

Issue 847733005: Move User Manager onto a System profile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Compile Error - Windows Created 5 years, 11 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/profiles/profiles_state.cc
diff --git a/chrome/browser/profiles/profiles_state.cc b/chrome/browser/profiles/profiles_state.cc
index a673b011c5d74b09d6beb4f189efe32900a68d6b..3aa232ab99925c7cdc5d2d67d77067344e8bbecf 100644
--- a/chrome/browser/profiles/profiles_state.cc
+++ b/chrome/browser/profiles/profiles_state.cc
@@ -184,7 +184,7 @@ Profile* SetActiveProfileToGuestIfLocked() {
if (!cache.ProfileIsSigninRequiredAtIndex(index))
return NULL;
- // The guest profile must have been loaded already.
+ // Profile loads synchronously if it was not previously created.
Profile* guest_profile = profile_manager->GetProfile(
ProfileManager::GetGuestProfilePath());
DCHECK(guest_profile);

Powered by Google App Engine
This is Rietveld 408576698