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

Unified Diff: net/http/http_stream_factory_impl_job_controller.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.cc ('k') | net/http/http_stream_factory_impl_job_controller.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_controller.h
diff --git a/net/http/http_stream_factory_impl_job_controller.h b/net/http/http_stream_factory_impl_job_controller.h
index a5ccf46446436e86ad96204a7e8cc776a263804b..9b29742fc09bf2e50478d3bae15af313b08df533 100644
--- a/net/http/http_stream_factory_impl_job_controller.h
+++ b/net/http/http_stream_factory_impl_job_controller.h
@@ -11,6 +11,7 @@
#include "net/base/privacy_mode.h"
#include "net/http/http_stream_factory_impl_job.h"
#include "net/http/http_stream_factory_impl_request.h"
+#include "net/socket/next_proto.h"
namespace net {
@@ -312,11 +313,12 @@ class HttpStreamFactoryImpl::JobController
// |main_job_| to proceed and then race the two jobs.
std::unique_ptr<Job> main_job_;
std::unique_ptr<Job> alternative_job_;
+ // The alternative service used by |alternative_job_|
+ // (or by |main_job_| if |is_preconnect_|.)
+ AlternativeService alternative_service_;
// Net error code of the failed alternative job. Set to OK by default.
int alternative_job_net_error_;
- // The alternative service server that |alternative_job_| uses failed.
- AlternativeService failed_alternative_service_;
// True if a Job has ever been bound to the |request_|.
bool job_bound_;
« no previous file with comments | « net/http/http_stream_factory_impl_job.cc ('k') | net/http/http_stream_factory_impl_job_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698