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

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

Issue 872313005: Remove dependency on visitedlink from history (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@init-prefs
Patch Set: Rebase Created 5 years, 10 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_backend.cc ('k') | chrome/browser/history/history_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history_backend_unittest.cc
diff --git a/chrome/browser/history/history_backend_unittest.cc b/chrome/browser/history/history_backend_unittest.cc
index 6f3a46db67d3c536803839f16c774cdabd7ddbb5..9eeca2ad64038607862740afc2726f36f49ce2b9 100644
--- a/chrome/browser/history/history_backend_unittest.cc
+++ b/chrome/browser/history/history_backend_unittest.cc
@@ -22,6 +22,7 @@
#include "base/strings/string16.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/utf_string_conversions.h"
+#include "chrome/browser/history/content_visit_delegate.h"
#include "chrome/browser/history/history_service.h"
#include "chrome/browser/history/history_service_factory.h"
#include "chrome/browser/history/in_memory_history_backend.h"
@@ -3041,8 +3042,8 @@ TEST_F(HistoryBackendTest, RemoveNotification) {
GURL url("http://www.google.com");
HistoryClientMock history_client;
history_client.AddBookmark(url);
- scoped_ptr<HistoryService> service(
- new HistoryService(&history_client, profile.get()));
+ scoped_ptr<HistoryService> service(new HistoryService(
+ &history_client, scoped_ptr<history::VisitDelegate>()));
EXPECT_TRUE(
service->Init(profile->GetPrefs()->GetString(prefs::kAcceptLanguages),
TestHistoryDatabaseParamsForPath(profile->GetPath())));
« no previous file with comments | « chrome/browser/history/history_backend.cc ('k') | chrome/browser/history/history_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698