| 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 07405934e73cb365732d2ef9ed72316ab0d14dd9..57ee268f1dd98facf91febe9bf8f4c1b201b331a 100644
|
| --- a/chrome/browser/safe_browsing/download_protection_service_unittest.cc
|
| +++ b/chrome/browser/safe_browsing/download_protection_service_unittest.cc
|
| @@ -46,6 +46,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/shell_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"
|
| @@ -244,6 +245,7 @@ class DownloadProtectionServiceTest : public testing::Test {
|
| content::TestBrowserThreadBundle::IO_MAINLOOP) {
|
| }
|
| void SetUp() override {
|
| + shell_context_ = content::ShellContext::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>();
|
| @@ -531,6 +533,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::ShellContext> shell_context_;
|
| base::FilePath testdata_path_;
|
| DownloadProtectionService::ClientDownloadRequestSubscription
|
| client_download_request_subscription_;
|
|
|