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

Unified Diff: components/history/core/browser/top_sites_cache.cc

Issue 1809603005: Create a --disable-top-sites flag for use by telemetry tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move flag check to factory Created 4 years, 6 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
« no previous file with comments | « chrome/browser/history/top_sites_factory.cc ('k') | components/ntp_tiles/most_visited_sites.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/history/core/browser/top_sites_cache.cc
diff --git a/components/history/core/browser/top_sites_cache.cc b/components/history/core/browser/top_sites_cache.cc
index 124e9b2fe2afd1a78965321d0d8e37103201ddad..c436e68cb0e73871d5f41e1131f0a1f2bfd23801 100644
--- a/components/history/core/browser/top_sites_cache.cc
+++ b/components/history/core/browser/top_sites_cache.cc
@@ -18,7 +18,7 @@ TopSitesCache::CanonicalURLQuery::CanonicalURLQuery(const GURL& url) {
TopSitesCache::CanonicalURLQuery::~CanonicalURLQuery() {
}
-TopSitesCache::TopSitesCache() {
+TopSitesCache::TopSitesCache() : num_forced_urls_(0) {
clear_query_ref_.ClearQuery();
clear_query_ref_.ClearRef();
clear_path_query_ref_.ClearQuery();
« no previous file with comments | « chrome/browser/history/top_sites_factory.cc ('k') | components/ntp_tiles/most_visited_sites.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698