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

Unified Diff: net/http/http_stream_factory_test_util.h

Issue 2935293002: HttpStreamFactoryImpl::Job cleanup. (Closed)
Patch Set: Re: #7. Created 3 years, 6 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 | « net/http/http_stream_factory_impl_job_controller.cc ('k') | net/http/http_stream_factory_test_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_stream_factory_test_util.h
diff --git a/net/http/http_stream_factory_test_util.h b/net/http/http_stream_factory_test_util.h
index 461ee2b55f03b6881ed58fe22283596e1b2269b0..49a3d96d2780ca1fbe4f8e52a93c1073e73c068e 100644
--- a/net/http/http_stream_factory_test_util.h
+++ b/net/http/http_stream_factory_test_util.h
@@ -15,6 +15,7 @@
#include "net/http/http_stream_factory_impl_job_controller.h"
#include "net/proxy/proxy_info.h"
#include "net/proxy/proxy_server.h"
+#include "net/socket/next_proto.h"
#include "testing/gmock/include/gmock/gmock.h"
using testing::_;
@@ -114,20 +115,7 @@ class MockHttpStreamFactoryImplJob : public HttpStreamFactoryImpl::Job {
const SSLConfig& proxy_ssl_config,
HostPortPair destination,
GURL origin_url,
- bool enable_ip_based_pooling,
- NetLog* net_log);
-
- MockHttpStreamFactoryImplJob(HttpStreamFactoryImpl::Job::Delegate* delegate,
- HttpStreamFactoryImpl::JobType job_type,
- HttpNetworkSession* session,
- const HttpRequestInfo& request_info,
- RequestPriority priority,
- ProxyInfo proxy_info,
- const SSLConfig& server_ssl_config,
- const SSLConfig& proxy_ssl_config,
- HostPortPair destination,
- GURL origin_url,
- AlternativeService alternative_service,
+ NextProto alternative_protocol,
const ProxyServer& alternative_proxy_server,
bool enable_ip_based_pooling,
NetLog* net_log);
@@ -170,7 +158,7 @@ class TestJobFactory : public HttpStreamFactoryImpl::JobFactory {
const SSLConfig& proxy_ssl_config,
HostPortPair destination,
GURL origin_url,
- AlternativeService alternative_service,
+ NextProto alternative_protocol,
bool enable_ip_based_pooling,
NetLog* net_log) override;
« no previous file with comments | « net/http/http_stream_factory_impl_job_controller.cc ('k') | net/http/http_stream_factory_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698