| Index: chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc
|
| diff --git a/chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc b/chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc
|
| index 30902af17746aa46c8f1be3745ba7477d5306fb7..c6398a6302b656dec2e50156287e62928393579e 100644
|
| --- a/chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc
|
| +++ b/chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc
|
| @@ -35,6 +35,7 @@
|
| #include "chrome/common/chrome_constants.h"
|
| #include "chrome/common/pref_names.h"
|
| #include "chrome/common/safe_browsing/csd.pb.h"
|
| +#include "chrome/common/safe_browsing/file_type_policies.h"
|
| #include "chrome/test/base/testing_browser_process.h"
|
| #include "chrome/test/base/testing_profile.h"
|
| #include "chrome/test/base/testing_profile_manager.h"
|
| @@ -323,6 +324,9 @@ class LastDownloadFinderTest : public testing::Test {
|
|
|
| // Incremented on every download addition to avoid downloads with the same id.
|
| int download_id_;
|
| +
|
| + // This manages the lifetime of FileTypePolicies::GlobalInstance()
|
| + FileTypePoliciesManager file_type_policies_manager_;
|
| };
|
|
|
| // Tests that nothing happens if there are no profiles at all.
|
|
|