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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc

Issue 10069031: Replace SafeBrowsing MAC with downloads over SSL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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: chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc
diff --git a/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc b/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc
index 3340b21dd2a7a162206f7207cfcdcfc51ff9760d..a330994e1adcdbb9b5088410772a96b9afc954a0 100644
--- a/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc
@@ -194,15 +194,11 @@ class TestProtocolManager : public SafeBrowsingProtocolManager {
public:
TestProtocolManager(SafeBrowsingService* sb_service,
const std::string& client_name,
- const std::string& client_key,
- const std::string& wrapped_key,
net::URLRequestContextGetter* request_context_getter,
- const std::string& info_url_prefix,
- const std::string& mackey_url_prefix,
+ const std::string& url_prefix,
bool disable_auto_update)
- : SafeBrowsingProtocolManager(sb_service, client_name, client_key,
- wrapped_key, request_context_getter,
- info_url_prefix, mackey_url_prefix,
+ : SafeBrowsingProtocolManager(sb_service, client_name,
+ request_context_getter, url_prefix,
disable_auto_update),
sb_service_(sb_service),
delay_ms_(0) {
@@ -249,16 +245,12 @@ class TestSBProtocolManagerFactory : public SBProtocolManagerFactory {
virtual SafeBrowsingProtocolManager* CreateProtocolManager(
SafeBrowsingService* sb_service,
const std::string& client_name,
- const std::string& client_key,
- const std::string& wrapped_key,
net::URLRequestContextGetter* request_context_getter,
- const std::string& info_url_prefix,
- const std::string& mackey_url_prefix,
+ const std::string& url_prefix,
bool disable_auto_update) {
pm_ = new TestProtocolManager(
- sb_service, client_name, client_key, wrapped_key,
- request_context_getter, info_url_prefix, mackey_url_prefix,
- disable_auto_update);
+ sb_service, client_name, request_context_getter,
+ url_prefix, disable_auto_update);
return pm_;
}
TestProtocolManager* GetProtocolManager() {
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_service.cc ('k') | chrome/browser/safe_browsing/safe_browsing_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698