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

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

Issue 10963018: Rework arguments of HistoryService::AddPage() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Windows compile Created 8 years, 3 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/history_unittest.cc ('k') | chrome/browser/instant/instant_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/top_sites_unittest.cc
diff --git a/chrome/browser/history/top_sites_unittest.cc b/chrome/browser/history/top_sites_unittest.cc
index 4524f92dc309bafae5f464c8e706ec419867cbac..1f57ae86d083360f4e4ab40a7b4052d454326694 100644
--- a/chrome/browser/history/top_sites_unittest.cc
+++ b/chrome/browser/history/top_sites_unittest.cc
@@ -240,9 +240,9 @@ class TopSitesTest : public HistoryUnitTestBase {
RedirectList redirects;
redirects.push_back(url);
history_service()->AddPage(
- url, static_cast<void*>(this), 0, GURL(),
- content::PAGE_TRANSITION_TYPED,
- redirects, history::SOURCE_BROWSED, false);
+ url, base::Time::Now(), static_cast<void*>(this), 0, GURL(),
+ redirects, content::PAGE_TRANSITION_TYPED, history::SOURCE_BROWSED,
+ false);
}
// Adds a page to history.
@@ -250,9 +250,9 @@ class TopSitesTest : public HistoryUnitTestBase {
RedirectList redirects;
redirects.push_back(url);
history_service()->AddPage(
- url, static_cast<void*>(this), 0, GURL(),
- content::PAGE_TRANSITION_TYPED,
- redirects, history::SOURCE_BROWSED, false);
+ url, base::Time::Now(), static_cast<void*>(this), 0, GURL(),
+ redirects, content::PAGE_TRANSITION_TYPED, history::SOURCE_BROWSED,
+ false);
history_service()->SetPageTitle(url, title);
}
@@ -263,8 +263,8 @@ class TopSitesTest : public HistoryUnitTestBase {
base::Time time) {
history_service()->AddPage(
url, time, static_cast<void*>(this), 0, GURL(),
- content::PAGE_TRANSITION_TYPED,
- redirects, history::SOURCE_BROWSED, false);
+ redirects, content::PAGE_TRANSITION_TYPED, history::SOURCE_BROWSED,
+ false);
history_service()->SetPageTitle(url, title);
}
« no previous file with comments | « chrome/browser/history/history_unittest.cc ('k') | chrome/browser/instant/instant_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698