Index: components/safe_browsing_db/remote_database_manager.cc |
diff --git a/components/safe_browsing_db/remote_database_manager.cc b/components/safe_browsing_db/remote_database_manager.cc |
index 24e7167ae564bb9fd25a3cb8dd1951feb3974f2f..950e8c0a682e15a4f4f2e2f09a2b9917d339be1a 100644 |
--- a/components/safe_browsing_db/remote_database_manager.cc |
+++ b/components/safe_browsing_db/remote_database_manager.cc |
@@ -11,6 +11,7 @@ |
#include "base/strings/string_split.h" |
#include "base/timer/elapsed_timer.h" |
#include "components/safe_browsing_db/safe_browsing_api_handler.h" |
+#include "components/safe_browsing_db/v4_get_hash_protocol_manager.h" |
#include "components/variations/variations_associated_data.h" |
#include "content/public/browser/browser_thread.h" |
@@ -93,7 +94,14 @@ void RemoteSafeBrowsingDatabaseManager::ClientRequest::OnRequestDone( |
// TODO(nparker): Add more tests for this class |
RemoteSafeBrowsingDatabaseManager::RemoteSafeBrowsingDatabaseManager() |
- : enabled_(false) { |
+ : RemoteSafeBrowsingDatabaseManager(NULL, V4GetHashProtocolConfig()) { |
+} |
+ |
+RemoteSafeBrowsingDatabaseManager::RemoteSafeBrowsingDatabaseManager( |
+ net::URLRequestContextGetter* request_context_getter, |
+ const V4GetHashProtocolConfig& config) |
+ : SafeBrowsingDatabaseManager(request_context_getter, config), |
+ enabled_(false) { |
// Decide which resource types to check. These two are the minimum. |
resource_types_to_check_.insert(content::RESOURCE_TYPE_MAIN_FRAME); |
resource_types_to_check_.insert(content::RESOURCE_TYPE_SUB_FRAME); |