Index: chrome/browser/ui/webui/signin/user_manager_screen_handler.h |
diff --git a/chrome/browser/ui/webui/signin/user_manager_screen_handler.h b/chrome/browser/ui/webui/signin/user_manager_screen_handler.h |
index f1f3044372c210985d7379b2a9db994eda4f49df..fedc7f1ca17dc35e116b65c6dd6b1790f86659f9 100644 |
--- a/chrome/browser/ui/webui/signin/user_manager_screen_handler.h |
+++ b/chrome/browser/ui/webui/signin/user_manager_screen_handler.h |
@@ -12,8 +12,10 @@ |
#include "base/compiler_specific.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/memory/weak_ptr.h" |
+#include "base/task/cancelable_task_tracker.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/profiles/profile_metrics.h" |
+#include "chrome/browser/profiles/profile_statistics.h" |
#include "chrome/browser/ui/host_desktop.h" |
#include "components/proximity_auth/screenlock_bridge.h" |
#include "content/public/browser/notification_observer.h" |
@@ -82,6 +84,12 @@ class UserManagerScreenHandler |
void HandleRemoveUser(const base::ListValue* args); |
void HandleAttemptUnlock(const base::ListValue* args); |
void HandleHardlockUserPod(const base::ListValue* args); |
+ void HandleRemoveUserWarningLoadStats(const base::ListValue* args); |
+ |
+ // Callback function used by HandleRemoveUserWarningLoadStats |
+ void UserManagerScreenHandler::RemoveUserDialogLoadStatsCallback( |
+ const base::FilePath* profile_path, |
+ profiles::ProfileStatisticsValues result); |
// Handle GAIA auth results. |
void OnGetTokenInfoResponse( |
@@ -136,6 +144,9 @@ class UserManagerScreenHandler |
base::WeakPtrFactory<UserManagerScreenHandler> weak_ptr_factory_; |
+ // The CalcelableTaskTracker is currently used by GetProfileStatistics |
+ base::CancelableTaskTracker tracker; |
+ |
DISALLOW_COPY_AND_ASSIGN(UserManagerScreenHandler); |
}; |