Index: components/safe_browsing_db/v4_local_database_manager.h |
diff --git a/components/safe_browsing_db/v4_local_database_manager.h b/components/safe_browsing_db/v4_local_database_manager.h |
index 7db100dc4cee05563c71ce38dd0e76138554f3af..e1ab460bcbfe8c44c6c735fe4c7842fa06bee4c7 100644 |
--- a/components/safe_browsing_db/v4_local_database_manager.h |
+++ b/components/safe_browsing_db/v4_local_database_manager.h |
@@ -31,7 +31,8 @@ class V4LocalDatabaseManager : public SafeBrowsingDatabaseManager { |
// Create and return an instance of V4LocalDatabaseManager, if Finch trial |
// allows it; nullptr otherwise. |
static scoped_refptr<V4LocalDatabaseManager> Create( |
- const base::FilePath& base_path); |
+ const base::FilePath& base_path, |
+ ExtendedReportingLevelCallback extended_reporting_level_callback); |
// |
// SafeBrowsingDatabaseManager implementation |
@@ -72,7 +73,9 @@ class V4LocalDatabaseManager : public SafeBrowsingDatabaseManager { |
protected: |
// Construct V4LocalDatabaseManager. |
// Must be initialized by calling StartOnIOThread() before using. |
- V4LocalDatabaseManager(const base::FilePath& base_path); |
+ V4LocalDatabaseManager( |
+ const base::FilePath& base_path, |
+ ExtendedReportingLevelCallback extended_reporting_level_callback); |
~V4LocalDatabaseManager() override; |
@@ -268,6 +271,8 @@ class V4LocalDatabaseManager : public SafeBrowsingDatabaseManager { |
// Whether the service is running. |
bool enabled_; |
+ ExtendedReportingLevelCallback extended_reporting_level_callback_; |
+ |
// The list of stores to manage (for hash prefixes and full hashes). Each |
// element contains the identifier for the store, the corresponding |
// SBThreatType, whether to fetch hash prefixes for that store, and the |