Index: chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc |
diff --git a/chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc b/chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc |
index 5397d66da292220e662dd8a0158a484a88bddd0c..dcdf0ed04be357cfe235576e4835321a076fa850 100644 |
--- a/chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc |
+++ b/chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc |
@@ -15,6 +15,7 @@ |
#include "base/strings/utf_string_conversions.h" |
#include "chrome/browser/history/chrome_history_client.h" |
#include "chrome/browser/history/chrome_history_client_factory.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/web_history_service_factory.h" |
@@ -54,8 +55,9 @@ KeyedService* BuildHistoryService(content::BrowserContext* context) { |
return NULL; |
} |
- HistoryService* history_service = new HistoryService( |
- ChromeHistoryClientFactory::GetForProfile(profile), profile); |
+ HistoryService* history_service = |
+ new HistoryService(ChromeHistoryClientFactory::GetForProfile(profile), |
+ scoped_ptr<history::VisitDelegate>()); |
if (history_service->Init( |
profile->GetPrefs(), |
history::HistoryDatabaseParamsForPath(profile->GetPath()))) { |