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

Unified Diff: net/http/http_stream_factory_impl_request_unittest.cc

Issue 871753006: Add AlternateProtocolInfo to HttpStreamFactoryImpl::Job. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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: net/http/http_stream_factory_impl_request_unittest.cc
diff --git a/net/http/http_stream_factory_impl_request_unittest.cc b/net/http/http_stream_factory_impl_request_unittest.cc
index 32900f93e789765da47f0b85ec2e88c6e1131767..81f7983dcdc2036fc9f9fcd51a28cceaa15d7648 100644
--- a/net/http/http_stream_factory_impl_request_unittest.cc
+++ b/net/http/http_stream_factory_impl_request_unittest.cc
@@ -69,14 +69,10 @@ TEST_P(HttpStreamFactoryImplRequestTest, SetPriority) {
HttpStreamFactoryImpl::Request request(
GURL(), factory, &request_delegate, NULL, BoundNetLog());
- HttpStreamFactoryImpl::Job* job =
- new HttpStreamFactoryImpl::Job(factory,
- session.get(),
- HttpRequestInfo(),
- DEFAULT_PRIORITY,
- SSLConfig(),
- SSLConfig(),
- NULL);
+ AlternateProtocolInfo alternate_protocol;
+ HttpStreamFactoryImpl::Job* job = new HttpStreamFactoryImpl::Job(
+ factory, session.get(), HttpRequestInfo(), DEFAULT_PRIORITY, SSLConfig(),
+ SSLConfig(), NULL, alternate_protocol);
request.AttachJob(job);
EXPECT_EQ(DEFAULT_PRIORITY, job->priority());
« net/http/http_stream_factory_impl_job.h ('K') | « net/http/http_stream_factory_impl_job.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698