Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(163)

Unified Diff: chrome/browser/ui/webui/signin/user_manager_screen_handler.h

Issue 1248613003: Issue 501916 : Add data type counts to profile deletion flow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sixth draft Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 963a473906b300da37483c37c6f4bd602627420b..169fa5808541fc254f8d06755299aee3cb0b01e0 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"
@@ -80,6 +82,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 RemoveUserDialogLoadStatsCallback(
+ base::FilePath profile_path,
+ profiles::ProfileStatisticsValues result);
// Handle GAIA auth results.
void OnGetTokenInfoResponse(
@@ -128,6 +136,9 @@ class UserManagerScreenHandler
content::NotificationRegistrar registrar_;
+ // The CancelableTaskTracker is currently used by GetProfileStatistics
+ base::CancelableTaskTracker tracker_;
+
base::WeakPtrFactory<UserManagerScreenHandler> weak_ptr_factory_;
DISALLOW_COPY_AND_ASSIGN(UserManagerScreenHandler);

Powered by Google App Engine
This is Rietveld 408576698