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

Unified Diff: components/safe_browsing_db/remote_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
« no previous file with comments | « components/safe_browsing_db/remote_database_manager.h ('k') | components/safe_browsing_db/util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 adcb0be4c225be0878e9e18e2f5ccb27fce186be..9e861d41601845ba8cd90f7ea38b4480e96bf80f 100644
--- a/components/safe_browsing_db/remote_database_manager.cc
+++ b/components/safe_browsing_db/remote_database_manager.cc
@@ -94,12 +94,12 @@ void RemoteSafeBrowsingDatabaseManager::ClientRequest::OnRequestDone(
// TODO(nparker): Add more tests for this class
RemoteSafeBrowsingDatabaseManager::RemoteSafeBrowsingDatabaseManager()
- : RemoteSafeBrowsingDatabaseManager(NULL, V4GetHashProtocolConfig()) {
+ : RemoteSafeBrowsingDatabaseManager(NULL, V4ProtocolConfig()) {
}
RemoteSafeBrowsingDatabaseManager::RemoteSafeBrowsingDatabaseManager(
net::URLRequestContextGetter* request_context_getter,
- const V4GetHashProtocolConfig& config)
+ const V4ProtocolConfig& config)
: SafeBrowsingDatabaseManager(request_context_getter, config),
enabled_(false) {
// Decide which resource types to check. These two are the minimum.
« no previous file with comments | « components/safe_browsing_db/remote_database_manager.h ('k') | components/safe_browsing_db/util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698