Index: chrome/browser/safe_browsing/incident_reporting/off_domain_inclusion_detector_unittest.cc |
diff --git a/chrome/browser/safe_browsing/incident_reporting/off_domain_inclusion_detector_unittest.cc b/chrome/browser/safe_browsing/incident_reporting/off_domain_inclusion_detector_unittest.cc |
index 65c90a1dbba5684a7c9a894913d52589003d00ee..d7ca8848b3dcd62750f812b927f8dd0847a25279 100644 |
--- a/chrome/browser/safe_browsing/incident_reporting/off_domain_inclusion_detector_unittest.cc |
+++ b/chrome/browser/safe_browsing/incident_reporting/off_domain_inclusion_detector_unittest.cc |
@@ -13,6 +13,7 @@ |
#include "base/time/time.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" |
@@ -66,8 +67,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()))) { |