Index: chrome/browser/profiles/profile_window.cc |
diff --git a/chrome/browser/profiles/profile_window.cc b/chrome/browser/profiles/profile_window.cc |
index 17793224741594af2bbe343fce5e61293545376c..54925e9fd72f43c09823fcfa20b2572954b728bd 100644 |
--- a/chrome/browser/profiles/profile_window.cc |
+++ b/chrome/browser/profiles/profile_window.cc |
@@ -5,6 +5,8 @@ |
#include "chrome/browser/profiles/profile_window.h" |
#include <stddef.h> |
+#include <string> |
+#include <vector> |
#include "base/command_line.h" |
#include "base/files/file_path.h" |
@@ -197,7 +199,8 @@ void OnUserManagerSystemProfileCreated( |
return; |
// Tell the webui which user should be focused. |
- std::string page = chrome::kChromeUIUserManagerURL; |
+ std::string page = switches::IsMaterialDesignUserManager() ? |
+ chrome::kChromeUIMdUserManagerUrl : chrome::kChromeUIUserManagerURL; |
Roger Tawa OOO till Jul 10th
2016/03/10 18:23:17
Not part of this CL, but I wonder if this constant
|
if (tutorial_mode == profiles::USER_MANAGER_TUTORIAL_OVERVIEW) { |
page += profiles::kUserManagerDisplayTutorial; |