Chromium Code Reviews| 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 80f0df50be1b2ac507e4f0d119284521327a3e22..0bfa08a101cc4650355dbc21b05b94f5efe20ce6 100644 |
| --- a/components/safe_browsing_db/v4_local_database_manager.h |
| +++ b/components/safe_browsing_db/v4_local_database_manager.h |
| @@ -57,6 +57,8 @@ class V4LocalDatabaseManager : public SafeBrowsingDatabaseManager { |
| bool CheckResourceUrl(const GURL& url, Client* client) override; |
| bool IsMalwareKillSwitchOn() override; |
| bool IsCsdWhitelistKillSwitchOn() override; |
| + std::unordered_set<UpdateListIdentifier> GetStoresForFullHashRequests() |
|
Nathan Parker
2016/09/15 21:12:54
protected as well
vakh (use Gerrit instead)
2016/09/15 21:33:37
Done.
|
| + override; |
| private: |
| friend class V4LocalDatabaseManagerTest; |
| @@ -97,6 +99,10 @@ class V4LocalDatabaseManager : public SafeBrowsingDatabaseManager { |
| // It should come through the database, from the various V4Stores. |
| base::hash_map<UpdateListIdentifier, std::string> current_list_states_; |
| + // The list of stores to manage (for hash prefixes and full hashes), along |
| + // with the corresponding filename on disk for each of them. |
| + StoreIdAndFileNames store_id_file_names_; |
| + |
| // The protocol manager that downloads the hash prefix updates. |
| std::unique_ptr<V4UpdateProtocolManager> v4_update_protocol_manager_; |