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

Unified Diff: chrome/browser/ui/webui/signin/md_user_manager_ui.h

Issue 1716163005: MD user manager (C++ for create profile flow) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 10 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/ui/webui/signin/md_user_manager_ui.h
diff --git a/chrome/browser/ui/webui/signin/user_manager_ui.h b/chrome/browser/ui/webui/signin/md_user_manager_ui.h
similarity index 53%
copy from chrome/browser/ui/webui/signin/user_manager_ui.h
copy to chrome/browser/ui/webui/signin/md_user_manager_ui.h
index a025871b74ec7b90acf895a74a11a04f1e610b73..df59715a7297e6daf8c574170514b9bf60d41c86 100644
--- a/chrome/browser/ui/webui/signin/user_manager_ui.h
+++ b/chrome/browser/ui/webui/signin/md_user_manager_ui.h
@@ -1,13 +1,14 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
+// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_UI_WEBUI_SIGNIN_USER_MANAGER_UI_H_
-#define CHROME_BROWSER_UI_WEBUI_SIGNIN_USER_MANAGER_UI_H_
+#ifndef CHROME_BROWSER_UI_WEBUI_SIGNIN_MD_USER_MANAGER_UI_H_
+#define CHROME_BROWSER_UI_WEBUI_SIGNIN_MD_USER_MANAGER_UI_H_
#include "base/macros.h"
#include "content/public/browser/web_ui_controller.h"
+class SigninCreateProfileHandler;
class UserManagerScreenHandler;
namespace base {
@@ -18,19 +19,20 @@ class WebUIDataSource;
}
// A WebUI dialog to display available users.
-class UserManagerUI : public content::WebUIController {
+class MDUserManagerUI : public content::WebUIController {
public:
- explicit UserManagerUI(content::WebUI* web_ui);
- ~UserManagerUI() override;
+ explicit MDUserManagerUI(content::WebUI* web_ui);
+ ~MDUserManagerUI() override;
private:
content::WebUIDataSource* CreateUIDataSource(
const base::DictionaryValue& localized_strings);
void GetLocalizedStrings(base::DictionaryValue* localized_strings);
+ SigninCreateProfileHandler* signin_create_profile_handler_;
UserManagerScreenHandler* user_manager_screen_handler_;
- DISALLOW_COPY_AND_ASSIGN(UserManagerUI);
+ DISALLOW_COPY_AND_ASSIGN(MDUserManagerUI);
};
-#endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_USER_MANAGER_UI_H_
+#endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_MD_USER_MANAGER_UI_H_

Powered by Google App Engine
This is Rietveld 408576698