| 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 <memory> | 9 #include <memory> |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "base/callback.h" | 12 #include "base/callback.h" |
| 13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
| 16 #include "base/task/cancelable_task_tracker.h" | 16 #include "base/task/cancelable_task_tracker.h" |
| 17 #include "chrome/browser/profiles/profile.h" | 17 #include "chrome/browser/profiles/profile.h" |
| 18 #include "chrome/browser/profiles/profile_metrics.h" | 18 #include "chrome/browser/profiles/profile_metrics.h" |
| 19 #include "chrome/browser/profiles/profile_statistics.h" | 19 #include "chrome/browser/profiles/profile_statistics.h" |
| 20 #include "components/proximity_auth/screenlock_bridge.h" | 20 #include "components/proximity_auth/screenlock_bridge.h" |
| 21 #include "content/public/browser/notification_observer.h" | 21 #include "content/public/browser/notification_observer.h" |
| 22 #include "content/public/browser/notification_registrar.h" | 22 #include "content/public/browser/notification_registrar.h" |
| 23 #include "content/public/browser/web_ui_message_handler.h" | 23 #include "content/public/browser/web_ui_message_handler.h" |
| 24 #include "google_apis/gaia/gaia_oauth_client.h" | 24 #include "google_apis/gaia/gaia_oauth_client.h" |
| 25 | 25 |
| 26 class AccountId; | 26 class AccountId; |
| 27 class Browser; | 27 class Browser; |
| 28 class GaiaAuthFetcher; | |
| 29 | 28 |
| 30 namespace base { | 29 namespace base { |
| 31 class DictionaryValue; | 30 class DictionaryValue; |
| 32 class FilePath; | 31 class FilePath; |
| 33 class ListValue; | 32 class ListValue; |
| 34 } | 33 } |
| 35 | 34 |
| 36 class UserManagerScreenHandler | 35 class UserManagerScreenHandler |
| 37 : public content::WebUIMessageHandler, | 36 : public content::WebUIMessageHandler, |
| 38 public proximity_auth::ScreenlockBridge::LockHandler, | 37 public proximity_auth::ScreenlockBridge::LockHandler, |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 | 136 |
| 138 // The CancelableTaskTracker is currently used by GetProfileStatistics | 137 // The CancelableTaskTracker is currently used by GetProfileStatistics |
| 139 base::CancelableTaskTracker tracker_; | 138 base::CancelableTaskTracker tracker_; |
| 140 | 139 |
| 141 base::WeakPtrFactory<UserManagerScreenHandler> weak_ptr_factory_; | 140 base::WeakPtrFactory<UserManagerScreenHandler> weak_ptr_factory_; |
| 142 | 141 |
| 143 DISALLOW_COPY_AND_ASSIGN(UserManagerScreenHandler); | 142 DISALLOW_COPY_AND_ASSIGN(UserManagerScreenHandler); |
| 144 }; | 143 }; |
| 145 | 144 |
| 146 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_USER_MANAGER_SCREEN_HANDLER_H_ | 145 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_USER_MANAGER_SCREEN_HANDLER_H_ |
| OLD | NEW |