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

Unified Diff: chrome/browser/bookmarks/bookmark_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/bookmarks/bookmark_model_unittest.cc
diff --git a/chrome/browser/bookmarks/bookmark_model_unittest.cc b/chrome/browser/bookmarks/bookmark_model_unittest.cc
index be237ac28e34da829d61a8545aa08e919fe60baa..e323416ddc06c296d109c08f1f704755168ff44b 100644
--- a/chrome/browser/bookmarks/bookmark_model_unittest.cc
+++ b/chrome/browser/bookmarks/bookmark_model_unittest.cc
@@ -16,6 +16,7 @@
#include "base/string_number_conversions.h"
#include "base/string_split.h"
#include "base/string_util.h"
+#include "base/time.h"
#include "base/utf_string_conversions.h"
#include "chrome/browser/bookmarks/bookmark_model.h"
#include "chrome/browser/bookmarks/bookmark_model_factory.h"
@@ -945,8 +946,8 @@ TEST_F(BookmarkModelTestWithProfile, RemoveNotification) {
HistoryServiceFactory::GetForProfile(
profile_.get(), Profile::EXPLICIT_ACCESS)->AddPage(
- url, NULL, 1, GURL(), content::PAGE_TRANSITION_TYPED,
- history::RedirectList(), history::SOURCE_BROWSED, false);
+ url, base::Time::Now(), NULL, 1, GURL(), history::RedirectList(),
+ content::PAGE_TRANSITION_TYPED, history::SOURCE_BROWSED, false);
// This won't actually delete the URL, rather it'll empty out the visits.
// This triggers blocking on the BookmarkModel.

Powered by Google App Engine
This is Rietveld 408576698