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

Unified Diff: net/http/http_stream_factory_impl_job.h

Issue 1011013002: Make GetAlternateProtocolRequestFor return AlternativeService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re: nit. Created 5 years, 9 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.cc ('k') | net/http/http_stream_factory_impl_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_stream_factory_impl_job.h
diff --git a/net/http/http_stream_factory_impl_job.h b/net/http/http_stream_factory_impl_job.h
index 04342bff28d6eff23e74a4cc644d99ad68757530..71c1f2ccee97917643189114d406685fa4f0c0e0 100644
--- a/net/http/http_stream_factory_impl_job.h
+++ b/net/http/http_stream_factory_impl_job.h
@@ -60,7 +60,7 @@ class HttpStreamFactoryImpl::Job {
// we fail to connect. |alternate| specifies the alternate protocol to use
// and alternate port to connect to.
void MarkAsAlternate(const GURL& original_url,
- AlternateProtocolInfo alternate);
+ AlternativeService alternative_service);
// Tells |this| to wait for |job| to resume it.
void WaitFor(Job* job);
@@ -276,10 +276,10 @@ class HttpStreamFactoryImpl::Job {
scoped_ptr<GURL> original_url_;
// AlternateProtocol for this job if this is an alternate job.
- AlternateProtocolInfo alternate_protocol_;
+ AlternativeService alternative_service_;
// AlternateProtocol for the other job if this is not an alternate job.
- AlternateProtocolInfo other_job_alternate_protocol_;
+ AlternativeService other_job_alternative_service_;
// This is the Job we're dependent on. It will notify us if/when it's OK to
// proceed.
« no previous file with comments | « net/http/http_stream_factory_impl.cc ('k') | net/http/http_stream_factory_impl_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698