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

Unified Diff: chrome/browser/profiles/profile_statistics_aggregator.h

Issue 2799143002: Improve profile stats performace. (Closed)
Patch Set: Use enum Created 3 years, 8 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/profiles/profile_statistics_aggregator.h
diff --git a/chrome/browser/profiles/profile_statistics_aggregator.h b/chrome/browser/profiles/profile_statistics_aggregator.h
index 66e16fc30bebf0f6681ebac6f0bcfb3e45d87894..fc45518d04ee06edd30ff210a217c258a0eb571c 100644
--- a/chrome/browser/profiles/profile_statistics_aggregator.h
+++ b/chrome/browser/profiles/profile_statistics_aggregator.h
@@ -50,8 +50,8 @@ class ProfileStatisticsAggregator
friend class base::RefCountedThreadSafe<ProfileStatisticsAggregator>;
struct ProfileStatValue {
- int count;
- bool success; // false means the statistics failed to load
+ int count = 0;
+ bool success = false; // False means the statistics failed to load.
};
~ProfileStatisticsAggregator();
« no previous file with comments | « chrome/browser/prefs/pref_functional_browsertest.cc ('k') | chrome/browser/profiles/profile_statistics_aggregator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698