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_SCREEN_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_SIGNIN_USER_MANAGER_SCREEN_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_SIGNIN_USER_MANAGER_SCREEN_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_SIGNIN_USER_MANAGER_SCREEN_HANDLER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "chrome/browser/profiles/profile.h" | 15 #include "chrome/browser/profiles/profile.h" |
16 #include "chrome/browser/profiles/profile_metrics.h" | 16 #include "chrome/browser/profiles/profile_metrics.h" |
17 #include "chrome/browser/ui/host_desktop.h" | |
18 #include "components/proximity_auth/screenlock_bridge.h" | 17 #include "components/proximity_auth/screenlock_bridge.h" |
19 #include "content/public/browser/notification_observer.h" | 18 #include "content/public/browser/notification_observer.h" |
20 #include "content/public/browser/notification_registrar.h" | 19 #include "content/public/browser/notification_registrar.h" |
21 #include "content/public/browser/web_ui_message_handler.h" | 20 #include "content/public/browser/web_ui_message_handler.h" |
22 #include "google_apis/gaia/gaia_oauth_client.h" | 21 #include "google_apis/gaia/gaia_oauth_client.h" |
| 22 #include "ui/gfx/host_desktop_type.h" |
23 | 23 |
| 24 class Browser; |
24 class GaiaAuthFetcher; | 25 class GaiaAuthFetcher; |
25 | 26 |
26 namespace base { | 27 namespace base { |
27 class DictionaryValue; | 28 class DictionaryValue; |
28 class FilePath; | 29 class FilePath; |
29 class ListValue; | 30 class ListValue; |
30 } | 31 } |
31 | 32 |
32 class UserManagerScreenHandler | 33 class UserManagerScreenHandler |
33 : public content::WebUIMessageHandler, | 34 : public content::WebUIMessageHandler, |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 UserAuthTypeMap user_auth_type_map_; | 127 UserAuthTypeMap user_auth_type_map_; |
127 | 128 |
128 content::NotificationRegistrar registrar_; | 129 content::NotificationRegistrar registrar_; |
129 | 130 |
130 base::WeakPtrFactory<UserManagerScreenHandler> weak_ptr_factory_; | 131 base::WeakPtrFactory<UserManagerScreenHandler> weak_ptr_factory_; |
131 | 132 |
132 DISALLOW_COPY_AND_ASSIGN(UserManagerScreenHandler); | 133 DISALLOW_COPY_AND_ASSIGN(UserManagerScreenHandler); |
133 }; | 134 }; |
134 | 135 |
135 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_USER_MANAGER_SCREEN_HANDLER_H_ | 136 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_USER_MANAGER_SCREEN_HANDLER_H_ |
OLD | NEW |