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

Unified Diff: chrome/browser/history/top_sites_impl_unittest.cc

Issue 1005873011: Only record the execution time during startup. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update the histogram name. Created 5 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
« no previous file with comments | « chrome/browser/history/top_sites_impl.cc ('k') | components/history/core/browser/top_sites_backend.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/top_sites_impl_unittest.cc
diff --git a/chrome/browser/history/top_sites_impl_unittest.cc b/chrome/browser/history/top_sites_impl_unittest.cc
index 4974e9915976788fbcbbf8624609b689a89ef0fd..5de85ce65134f0b896f940ab88752e56f3e5c210 100644
--- a/chrome/browser/history/top_sites_impl_unittest.cc
+++ b/chrome/browser/history/top_sites_impl_unittest.cc
@@ -307,7 +307,8 @@ class TopSitesImplTest : public HistoryUnitTestBase {
}
void SetTopSites(const MostVisitedURLList& new_top_sites) {
- top_sites()->SetTopSites(new_top_sites);
+ top_sites()->SetTopSites(new_top_sites,
+ TopSitesImpl::CALL_LOCATION_FROM_OTHER_PLACES);
}
bool AddForcedURL(const GURL& url, base::Time time) {
« no previous file with comments | « chrome/browser/history/top_sites_impl.cc ('k') | components/history/core/browser/top_sites_backend.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698