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..775e3552ef78449efd6239430736afeacc813a3f 100644 |
--- a/chrome/browser/profiles/profile_window.cc |
+++ b/chrome/browser/profiles/profile_window.cc |
@@ -169,6 +169,12 @@ 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; |
+ } else if (profile_open_action == |
+ profiles::USER_MANAGER_SELECT_PROFILE_CHROME_MEMORY) { |
+ page += profiles::kUserManagerSelectProfileChromeMemory; |
} |
callback.Run(guest_profile, page); |
} |
@@ -190,6 +196,8 @@ namespace profiles { |
const char kUserManagerDisplayTutorial[] = "#tutorial"; |
const char kUserManagerSelectProfileTaskManager[] = "#task-manager"; |
const char kUserManagerSelectProfileAboutChrome[] = "#about-chrome"; |
+const char kUserManagerSelectProfileChromeSettings[] = "#chrome-settings"; |
+const char kUserManagerSelectProfileChromeMemory[] = "#chrome-memory"; |
void FindOrCreateNewWindowForProfile( |
Profile* profile, |
@@ -273,7 +281,7 @@ void CreateAndSwitchToNewProfile(chrome::HostDesktopType desktop_type, |
} |
void GuestBrowserCloseSuccess(const base::FilePath& profile_path) { |
- UserManager::Show(profile_path, |
+ UserManager::Show(base::FilePath(), |
profiles::USER_MANAGER_NO_TUTORIAL, |
profiles::USER_MANAGER_SELECT_PROFILE_NO_ACTION); |
} |