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

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

Issue 631163004: Mac - show user manager before opening browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use different app_controller_mac method. use different TaskMgr call. Created 6 years, 2 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 93524af7637413dec75f2a1973150844ddd1a9de..59130c301fe4b7412b9cd4c42b80126ca50fa880 100644
--- a/chrome/browser/profiles/profile_window.cc
+++ b/chrome/browser/profiles/profile_window.cc
@@ -169,6 +169,9 @@ void OnUserManagerGuestProfileCreated(
} else if (profile_open_action ==
profiles::USER_MANAGER_SELECT_PROFILE_ABOUT_CHROME) {
page += profiles::kUserManagerSelectProfileAboutChrome;
+ } else if (profile_open_action ==
+ profiles::USER_MANAGER_SELECT_PROFILE_CHROME_SETTINGS) {
+ page += profiles::kUserManagerSelectProfileChromeSettings;
}
callback.Run(guest_profile, page);
}
@@ -190,6 +193,7 @@ namespace profiles {
const char kUserManagerDisplayTutorial[] = "#tutorial";
const char kUserManagerSelectProfileTaskManager[] = "#task-manager";
const char kUserManagerSelectProfileAboutChrome[] = "#about-chrome";
+const char kUserManagerSelectProfileChromeSettings[] = "#chrome-settings";
void FindOrCreateNewWindowForProfile(
Profile* profile,

Powered by Google App Engine
This is Rietveld 408576698