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

Unified Diff: chrome/browser/history/top_sites_impl.h

Issue 1005873011: Only record the execution time during startup. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. Created 5 years, 9 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 | « no previous file | chrome/browser/history/top_sites_impl.cc » ('j') | chrome/browser/history/top_sites_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/top_sites_impl.h
diff --git a/chrome/browser/history/top_sites_impl.h b/chrome/browser/history/top_sites_impl.h
index 91518ec742b6ed79931882101310133b1e8b61cd..b590bbc3fdb570c2ee1a7fd8a903c15f9f9e4988 100644
--- a/chrome/browser/history/top_sites_impl.h
+++ b/chrome/browser/history/top_sites_impl.h
@@ -195,7 +195,9 @@ class TopSitesImpl : public TopSites,
// if the list of forced URLs overflows, the oldest ones are dropped.
// All mutations to cache_ *must* go through this. Should
// be called from the UI thread.
- void SetTopSites(const MostVisitedURLList& new_top_sites);
+ // TODO(yiyaoliu): Remove the 2nd parameter when crbug/223430 is fixed.
+ void SetTopSites(const MostVisitedURLList& new_top_sites,
+ const TopSitesBackend::TopSitesCalledLocation location);
// Returns the number of most visited results to request from history. This
// changes depending upon how many urls have been blacklisted. Should be
« no previous file with comments | « no previous file | chrome/browser/history/top_sites_impl.cc » ('j') | chrome/browser/history/top_sites_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698