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

Unified Diff: chrome/browser/ui/toolbar/back_forward_menu_model_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
Index: chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc
diff --git a/chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc b/chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc
index bfb000d44a1640dfa0b4ed125c888da6b1edea6a..81e11d5b5b4bd48bf09f429126a042f3efb3d8d0 100644
--- a/chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc
+++ b/chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc
@@ -7,6 +7,7 @@
#include "base/path_service.h"
#include "base/string16.h"
#include "base/string_util.h"
+#include "base/time.h"
#include "base/utf_string_conversions.h"
#include "chrome/browser/favicon/favicon_service_factory.h"
#include "chrome/browser/history/history.h"
@@ -527,7 +528,7 @@ TEST_F(BackFwdMenuModelTest, FaviconLoadTest) {
// Set the desired favicon for url1.
HistoryServiceFactory::GetForProfile(
profile(), Profile::EXPLICIT_ACCESS)->AddPage(
- url1, history::SOURCE_BROWSED);
+ url1, base::Time::Now(), history::SOURCE_BROWSED);
FaviconServiceFactory::GetForProfile(
profile(), Profile::EXPLICIT_ACCESS)->SetFavicons(
url1, url1_favicon, history::FAVICON, gfx::Image(new_icon_bitmap));
« no previous file with comments | « chrome/browser/sync/test/integration/typed_urls_helper.cc ('k') | chrome/browser/ui/views/external_tab_container_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698