| Index: chrome/browser/safe_browsing/download_protection_service_unittest.cc
|
| diff --git a/chrome/browser/safe_browsing/download_protection_service_unittest.cc b/chrome/browser/safe_browsing/download_protection_service_unittest.cc
|
| index 71ae6ad3b153b5d6f105d735c8b2d1e094d66c69..c567e537a1a05805ec011b78cc4f4525d13eeca5 100644
|
| --- a/chrome/browser/safe_browsing/download_protection_service_unittest.cc
|
| +++ b/chrome/browser/safe_browsing/download_protection_service_unittest.cc
|
| @@ -45,6 +45,7 @@
|
| #include "components/safe_browsing_db/test_database_manager.h"
|
| #include "content/public/browser/download_danger_type.h"
|
| #include "content/public/browser/page_navigator.h"
|
| +#include "content/public/browser/service_manager_context.h"
|
| #include "content/public/test/mock_download_item.h"
|
| #include "content/public/test/test_browser_thread_bundle.h"
|
| #include "content/public/test/test_utils.h"
|
| @@ -243,6 +244,7 @@ class DownloadProtectionServiceTest : public testing::Test {
|
| content::TestBrowserThreadBundle::IO_MAINLOOP) {
|
| }
|
| void SetUp() override {
|
| + service_manager_context_ = content::ServiceManagerContext::Create();
|
| // Start real threads for the IO and File threads so that the DCHECKs
|
| // to test that we're on the correct thread work.
|
| sb_service_ = new StrictMock<FakeSafeBrowsingService>();
|
| @@ -530,6 +532,7 @@ class DownloadProtectionServiceTest : public testing::Test {
|
| bool has_result_;
|
| content::TestBrowserThreadBundle test_browser_thread_bundle_;
|
| content::InProcessUtilityThreadHelper in_process_utility_thread_helper_;
|
| + std::unique_ptr<content::ServiceManagerContext> service_manager_context_;
|
| base::FilePath testdata_path_;
|
| DownloadProtectionService::ClientDownloadRequestSubscription
|
| client_download_request_subscription_;
|
|
|