Chromium Code Reviews| Index: components/safe_browsing_db/database_manager.h |
| diff --git a/components/safe_browsing_db/database_manager.h b/components/safe_browsing_db/database_manager.h |
| index fbbd1e648639c8324fbe302e38848c394af73a44..91c0b34f17ba376d38743f61fc558f191c39ca7b 100644 |
| --- a/components/safe_browsing_db/database_manager.h |
| +++ b/components/safe_browsing_db/database_manager.h |
| @@ -8,10 +8,9 @@ |
| #ifndef COMPONENTS_SAFE_BROWSING_DB_DATABASE_MANAGER_H_ |
| #define COMPONENTS_SAFE_BROWSING_DB_DATABASE_MANAGER_H_ |
| -#include <deque> |
| -#include <map> |
| #include <set> |
| #include <string> |
| +#include <unordered_set> |
| #include <vector> |
| #include "base/gtest_prod_util.h" |
| @@ -28,6 +27,7 @@ class URLRequestContextGetter; |
| namespace safe_browsing { |
| +struct UpdateListIdentifier; |
| struct V4ProtocolConfig; |
| class V4GetHashProtocolManager; |
| @@ -163,6 +163,10 @@ class SafeBrowsingDatabaseManager |
| // and "client" is called asynchronously with the result when it is ready. |
| virtual bool CheckApiBlacklistUrl(const GURL& url, Client* client); |
| + // Returns the lists that this DatabaseManager should get full hashes for. |
| + virtual std::unordered_set<UpdateListIdentifier> |
| + GetStoresForFullHashRequests(); |
|
Nathan Parker
2016/09/15 21:12:54
Could this be protected?
vakh (use Gerrit instead)
2016/09/15 21:33:37
Done.
|
| + |
| // Called to initialize objects that are used on the io_thread, such as the |
| // v4 protocol manager. This may be called multiple times during the life of |
| // the DatabaseManager. Must be called on IO thread. |