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

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: 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
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..0426c1887b938889187d5f79246328bfe53a3daf 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>
anthonyvd 2016/03/10 16:01:44 Do you need <vector>?
Moe 2016/03/10 18:18:21 Since i touched this file, git-cl lint complained
#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::IsMDUserManager() ?
+ chrome::kChromeUIMdUserManagerUrl : chrome::kChromeUIUserManagerURL;
anthonyvd 2016/03/10 16:01:44 Same comment as below w.r.t. "Md" abbreviation.
Moe 2016/03/10 18:18:21 Done.
if (tutorial_mode == profiles::USER_MANAGER_TUTORIAL_OVERVIEW) {
page += profiles::kUserManagerDisplayTutorial;

Powered by Google App Engine
This is Rietveld 408576698