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

Unified Diff: net/http/http_stream_factory_impl_request_unittest.cc

Issue 1162893003: Remove HttpStreamFactoryImpl::Job::MarkAsAlternate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 65a963747f77af652082dba7f1ac8167d1c5f8f5..5b37fd04db34ee65f4332ea2c3440c997b39709c 100644
--- a/net/http/http_stream_factory_impl_request_unittest.cc
+++ b/net/http/http_stream_factory_impl_request_unittest.cc
@@ -73,14 +73,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);
+ // Default constructed AlternativeService for non alternative Job.
+ HttpStreamFactoryImpl::Job* job = new HttpStreamFactoryImpl::Job(
+ factory, session.get(), HttpRequestInfo(), DEFAULT_PRIORITY, SSLConfig(),
+ SSLConfig(), AlternativeService(), NULL);
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