Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(181)

Unified Diff: components/safe_browsing_db/database_manager.cc

Issue 1703413002: Move common PVer4 code into a V4ProtocolManagerUtil class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Pass config as pointer, instead of reference Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/safe_browsing_db/database_manager.cc
diff --git a/components/safe_browsing_db/database_manager.cc b/components/safe_browsing_db/database_manager.cc
index 6412cf0aea8f2f3a1537ce363d023c5ce74f1d40..be1fcf87ac4f43b4684a6c67f8d12d48affa6267 100644
--- a/components/safe_browsing_db/database_manager.cc
+++ b/components/safe_browsing_db/database_manager.cc
@@ -11,12 +11,12 @@
namespace safe_browsing {
SafeBrowsingDatabaseManager::SafeBrowsingDatabaseManager()
- : SafeBrowsingDatabaseManager(NULL, V4GetHashProtocolConfig()) {
+ : SafeBrowsingDatabaseManager(NULL, V4ProtocolConfig()) {
}
SafeBrowsingDatabaseManager::SafeBrowsingDatabaseManager(
net::URLRequestContextGetter* request_context_getter,
- const V4GetHashProtocolConfig& config) {
+ const V4ProtocolConfig& config) {
// Instantiate a V4GetHashProtocolManager.
if (request_context_getter) {
v4_get_hash_protocol_manager_.reset(V4GetHashProtocolManager::Create(
« no previous file with comments | « components/safe_browsing_db/database_manager.h ('k') | components/safe_browsing_db/remote_database_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698