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

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

Issue 856733004: Loading the Launcher with a Locked Profile launched UserManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use a testing profile manager 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/profile_window.cc
diff --git a/chrome/browser/profiles/profile_window.cc b/chrome/browser/profiles/profile_window.cc
index 320388f389c31804652867d0be3d406c68773c11..1ed78e3ef820da526bc32238e342cf2357d50f50 100644
--- a/chrome/browser/profiles/profile_window.cc
+++ b/chrome/browser/profiles/profile_window.cc
@@ -213,6 +213,9 @@ void OnUserManagerGuestProfileCreated(
} else if (profile_open_action ==
profiles::USER_MANAGER_SELECT_PROFILE_CHROME_MEMORY) {
page += profiles::kUserManagerSelectProfileChromeMemory;
+ } else if (profile_open_action ==
+ profiles::USER_MANAGER_SELECT_PROFILE_APP_LAUNCHER) {
+ page += profiles::kUserManagerSelectProfileAppLauncher;
}
callback.Run(guest_profile, page);
}
@@ -236,6 +239,7 @@ const char kUserManagerSelectProfileTaskManager[] = "#task-manager";
const char kUserManagerSelectProfileAboutChrome[] = "#about-chrome";
const char kUserManagerSelectProfileChromeSettings[] = "#chrome-settings";
const char kUserManagerSelectProfileChromeMemory[] = "#chrome-memory";
+const char kUserManagerSelectProfileAppLauncher[] = "#app-launcher";
void FindOrCreateNewWindowForProfile(
Profile* profile,

Powered by Google App Engine
This is Rietveld 408576698