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..ba5f80ca08c8a64f211b542f444fae498a2ed8b5 100644 |
--- a/chrome/browser/ui/webui/options/manage_profile_handler.h |
+++ b/chrome/browser/ui/webui/options/manage_profile_handler.h |
@@ -10,6 +10,7 @@ |
#include "base/memory/weak_ptr.h" |
#include "base/prefs/pref_change_registrar.h" |
#include "chrome/browser/profiles/profile_info_cache_observer.h" |
+#include "chrome/browser/profiles/profile_statistics_service.h" |
#include "chrome/browser/ui/webui/options/options_ui.h" |
#include "components/sync_driver/sync_service_observer.h" |
@@ -132,6 +133,18 @@ class ManageProfileHandler : public OptionsPageUIHandler, |
// user is editing an existing profile. |
void RefreshGaiaPicture(const base::ListValue* args); |
+ // Stores the class ProfileStatisticsService for the use of its internal |
+ // cancellable task tracker and states. |
+ scoped_ptr<profiles::ProfileStatisticsService> profile_statistics_service_; |
+ |
+ // 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::ProfileStatisticsService::ProfileStatisticsValues result); |
+ |
// URL for the current profile's GAIA picture. |
std::string gaia_picture_url_; |