Index: chrome/browser/safe_browsing/sandboxed_zip_analyzer_unittest.cc |
diff --git a/chrome/browser/safe_browsing/sandboxed_zip_analyzer_unittest.cc b/chrome/browser/safe_browsing/sandboxed_zip_analyzer_unittest.cc |
index d29f7a984f5926b93461b7fa7cd6d335ac427f69..94acba834c6929009677d0829ce97dfcefa0cb12 100644 |
--- a/chrome/browser/safe_browsing/sandboxed_zip_analyzer_unittest.cc |
+++ b/chrome/browser/safe_browsing/sandboxed_zip_analyzer_unittest.cc |
@@ -14,6 +14,7 @@ |
#include "base/run_loop.h" |
#include "build/build_config.h" |
#include "chrome/common/chrome_paths.h" |
+#include "chrome/common/safe_browsing/file_type_policies.h" |
#include "chrome/common/safe_browsing/zip_analyzer_results.h" |
#include "content/public/test/test_browser_thread_bundle.h" |
#include "content/public/test/test_utils.h" |
@@ -138,6 +139,9 @@ class SandboxedZipAnalyzerTest : public ::testing::Test { |
base::FilePath dir_test_data_; |
content::TestBrowserThreadBundle browser_thread_bundle_; |
content::InProcessUtilityThreadHelper utility_thread_helper_; |
+ |
+ // This manages the lifetime of FileTypePolicies::GlobalInstance() |
+ safe_browsing::FileTypePoliciesManager file_type_policies_manager_; |
}; |
// static |