Index: chrome/browser/profiles/profile_statistics.h |
diff --git a/chrome/browser/profiles/profile_statistics.h b/chrome/browser/profiles/profile_statistics.h |
index 61bba0d7c93cc61d941e1d3bf5180d7be1e695ca..c24393a5105f1a84ba84e057ed4e9bf6bfe28843 100644 |
--- a/chrome/browser/profiles/profile_statistics.h |
+++ b/chrome/browser/profiles/profile_statistics.h |
@@ -39,13 +39,16 @@ using ProfileStatisticsCallback = base::Callback<void(ProfileCategoryStats)>; |
// Profile Statistics ---------------------------------------------------------- |
-// This function collects statistical information about |profile| and returns |
-// the information via |callback|. Currently bookmarks, history, logins and |
-// preferences are counted. The callback function will probably be called more |
-// than once so binding parameters with bind::Passed() is prohibited. |
-void GetProfileStatistics(Profile* profile, |
- const ProfileStatisticsCallback& callback, |
- base::CancelableTaskTracker* tracker); |
+// This function collects statistical information about |profile|, also returns |
+// the information via |callback| if |callback| is not null. The statistical |
+// information is also copied to ProfileInfoCache. Currently bookmarks, history, |
+// logins and preferences are counted. The callback function will probably be |
+// called more than once, so binding parameters with bind::Passed() is |
+// prohibited. Most of the async tasks involved in this function can be |
+// cancelled if |tracker| is not null. |
+void GatherProfileStatistics(Profile* profile, |
+ const ProfileStatisticsCallback& callback, |
+ base::CancelableTaskTracker* tracker); |
// ProfileInfoCache ------------------------------------------------------------ |