Index: chrome/browser/browsing_data/downloads_counter_browsertest.cc |
diff --git a/chrome/browser/browsing_data/downloads_counter_browsertest.cc b/chrome/browser/browsing_data/downloads_counter_browsertest.cc |
index 26e7fd505b4f23032a49a4b65295ee4cd6a52b47..04b0e18d2ae8cae1c79b3a738007d0e62aa2dda7 100644 |
--- a/chrome/browser/browsing_data/downloads_counter_browsertest.cc |
+++ b/chrome/browser/browsing_data/downloads_counter_browsertest.cc |
@@ -10,9 +10,9 @@ |
#include "base/guid.h" |
#include "base/run_loop.h" |
#include "base/strings/string_util.h" |
+#include "chrome/browser/download/download_core_service.h" |
+#include "chrome/browser/download/download_core_service_factory.h" |
#include "chrome/browser/download/download_history.h" |
-#include "chrome/browser/download/download_service.h" |
-#include "chrome/browser/download/download_service_factory.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/ui/browser.h" |
#include "chrome/test/base/in_process_browser_test.h" |
@@ -38,8 +38,8 @@ class DownloadsCounterTest : public InProcessBrowserTest, |
manager_ = |
content::BrowserContext::GetDownloadManager(browser()->profile()); |
history_ = |
- DownloadServiceFactory::GetForBrowserContext(browser()->profile())-> |
- GetDownloadHistory(); |
+ DownloadCoreServiceFactory::GetForBrowserContext(browser()->profile()) |
+ ->GetDownloadHistory(); |
history_->AddObserver(this); |
otr_manager_ = |