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

Unified Diff: net/http/http_stream_factory_impl.h

Issue 1952423002: JobController 2: Remove reference between HttpStreamFactoryImpl::Jobs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Job_Controller_1
Patch Set: Created 4 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
« no previous file with comments | « no previous file | net/http/http_stream_factory_impl_job.h » ('j') | net/http/http_stream_factory_impl_job.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_stream_factory_impl.h
diff --git a/net/http/http_stream_factory_impl.h b/net/http/http_stream_factory_impl.h
index 063d60385c134eb9426c38fa463b8089f3c3469b..d747bef9c0c068c52bff3f9e3bb1ec0c71e91943 100644
--- a/net/http/http_stream_factory_impl.h
+++ b/net/http/http_stream_factory_impl.h
@@ -62,6 +62,12 @@ class NET_EXPORT_PRIVATE HttpStreamFactoryImpl : public HttpStreamFactory {
void PreconnectStreams(int num_streams, const HttpRequestInfo& info) override;
const HostMappingRules* GetHostMappingRules() const override;
+ enum JobType {
+ NON_ALTERNATIVE,
Ryan Hamilton 2016/05/06 21:33:14 How about MAIN?
Zhongyi Shi 2016/05/13 00:31:24 Done.
+ ALTERNATIVE,
+ PRECONNECT,
+ };
+
private:
FRIEND_TEST_ALL_PREFIXES(HttpStreamFactoryImplRequestTest, SetPriority);
FRIEND_TEST_ALL_PREFIXES(HttpStreamFactoryImplRequestTest, DelayMainJob);
« no previous file with comments | « no previous file | net/http/http_stream_factory_impl_job.h » ('j') | net/http/http_stream_factory_impl_job.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698