| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_WEBUI_SIGNIN_USER_MANAGER_UI_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_SIGNIN_USER_MANAGER_UI_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_SIGNIN_USER_MANAGER_UI_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_SIGNIN_USER_MANAGER_UI_H_ |
| 7 | 7 |
| 8 #include "content/public/browser/web_ui_controller.h" | 8 #include "content/public/browser/web_ui_controller.h" |
| 9 | 9 |
| 10 class UserManagerScreenHandler; | 10 class UserManagerScreenHandler; |
| 11 | 11 |
| 12 namespace base { | 12 namespace base { |
| 13 class DictionaryValue; | 13 class DictionaryValue; |
| 14 } | 14 } |
| 15 namespace content { | 15 namespace content { |
| 16 class WebUIDataSource; | 16 class WebUIDataSource; |
| 17 } | 17 } |
| 18 | 18 |
| 19 // A WebUI dialog to display available users. | 19 // A WebUI dialog to display available users. |
| 20 class UserManagerUI : public content::WebUIController { | 20 class UserManagerUI : public content::WebUIController { |
| 21 public: | 21 public: |
| 22 explicit UserManagerUI(content::WebUI* web_ui); | 22 explicit UserManagerUI(content::WebUI* web_ui); |
| 23 virtual ~UserManagerUI(); | 23 ~UserManagerUI() override; |
| 24 | 24 |
| 25 private: | 25 private: |
| 26 content::WebUIDataSource* CreateUIDataSource( | 26 content::WebUIDataSource* CreateUIDataSource( |
| 27 const base::DictionaryValue& localized_strings); | 27 const base::DictionaryValue& localized_strings); |
| 28 void GetLocalizedStrings(base::DictionaryValue* localized_strings); | 28 void GetLocalizedStrings(base::DictionaryValue* localized_strings); |
| 29 | 29 |
| 30 UserManagerScreenHandler* user_manager_screen_handler_; | 30 UserManagerScreenHandler* user_manager_screen_handler_; |
| 31 | 31 |
| 32 DISALLOW_COPY_AND_ASSIGN(UserManagerUI); | 32 DISALLOW_COPY_AND_ASSIGN(UserManagerUI); |
| 33 }; | 33 }; |
| 34 | 34 |
| 35 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_USER_MANAGER_UI_H_ | 35 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_USER_MANAGER_UI_H_ |
| OLD | NEW |