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

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

Issue 1782583003: Puts the new Material Design User Manager behind a flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 4 years, 9 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
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | components/signin/core/common/profile_management_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | components/signin/core/common/profile_management_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698