Index: chrome/browser/ui/webui/options/manage_profile_handler.h |
diff --git a/chrome/browser/ui/webui/options/manage_profile_handler.h b/chrome/browser/ui/webui/options/manage_profile_handler.h |
index 5c101879170f8a0defc975c6e8d5681f9709de97..235cd53af7c4fb278d9d587ee0e6a0c64fd9a2dc 100644 |
--- a/chrome/browser/ui/webui/options/manage_profile_handler.h |
+++ b/chrome/browser/ui/webui/options/manage_profile_handler.h |
@@ -9,7 +9,9 @@ |
#include "base/memory/weak_ptr.h" |
#include "base/prefs/pref_change_registrar.h" |
+#include "base/task/cancelable_task_tracker.h" |
#include "chrome/browser/profiles/profile_info_cache_observer.h" |
+#include "chrome/browser/profiles/profile_statistics.h" |
#include "chrome/browser/ui/webui/options/options_ui.h" |
#include "components/sync_driver/sync_service_observer.h" |
@@ -132,6 +134,17 @@ class ManageProfileHandler : public OptionsPageUIHandler, |
// user is editing an existing profile. |
void RefreshGaiaPicture(const base::ListValue* args); |
+ // The CalcelableTaskTracker is currently used by GetProfileStatistics |
+ base::CancelableTaskTracker tracker; |
+ |
+ // Load extra statistics for the "delete user" dialog, which is called when |
+ // the user press the delete profile button. This action is done async. |
+ void DeleteUserDialogLoadStats(const base::ListValue* args); |
+ |
+ // Callback from profiles::GetProfileStats. Send information back to the form. |
+ void DeleteUserDialogLoadStatsCallback(const base::FilePath* profile_path, |
+ profiles::ProfileStatisticsValues result); |
+ |
// URL for the current profile's GAIA picture. |
std::string gaia_picture_url_; |