Don't show supervised user as "already on this device" while they're being imported.
[chromium-blink-merge.git] / chrome / browser / ui / webui / signin / user_manager_ui.h
blobad00e3393b9a1468f243a44447d11b39935f3848
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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_WEBUI_SIGNIN_USER_MANAGER_UI_H_
6 #define CHROME_BROWSER_UI_WEBUI_SIGNIN_USER_MANAGER_UI_H_
8 #include "content/public/browser/web_ui_controller.h"
10 class UserManagerScreenHandler;
12 namespace base {
13 class DictionaryValue;
15 namespace content {
16 class WebUIDataSource;
19 // A WebUI dialog to display available users.
20 class UserManagerUI : public content::WebUIController {
21 public:
22 explicit UserManagerUI(content::WebUI* web_ui);
23 ~UserManagerUI() override;
25 private:
26 content::WebUIDataSource* CreateUIDataSource(
27 const base::DictionaryValue& localized_strings);
28 void GetLocalizedStrings(base::DictionaryValue* localized_strings);
30 UserManagerScreenHandler* user_manager_screen_handler_;
32 DISALLOW_COPY_AND_ASSIGN(UserManagerUI);
35 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_USER_MANAGER_UI_H_