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

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: updated chromeos empty "localized" strings in signin_screen_handler.cc 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..fddbb2b7a9bf4d584e98da788ca55dd0a42da0fd 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(
+ const base::FilePath* profile_path,
+ profiles::ProfileStatisticsValues result);
// Handle GAIA auth results.
void OnGetTokenInfoResponse(
@@ -128,6 +136,9 @@ class UserManagerScreenHandler
content::NotificationRegistrar registrar_;
+ // The CalcelableTaskTracker is currently used by GetProfileStatistics
Mike Lerman 2015/08/05 19:26:10 spelling, missed an n on CaNcelableTaskTracker.
lwchkg 2015/08/06 04:32:59 Acknowledged.
+ base::CancelableTaskTracker tracker;
+
base::WeakPtrFactory<UserManagerScreenHandler> weak_ptr_factory_;
DISALLOW_COPY_AND_ASSIGN(UserManagerScreenHandler);

Powered by Google App Engine
This is Rietveld 408576698