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

Unified Diff: net/quic/quic_stream_factory.h

Issue 1692253004: QUIC - chromium server push support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review feedback round 2. Created 4 years, 10 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/quic/quic_http_stream_test.cc ('k') | net/quic/quic_stream_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_stream_factory.h
diff --git a/net/quic/quic_stream_factory.h b/net/quic/quic_stream_factory.h
index c98b386dde4e13b49d2230fd98043f0423ff7156..919f9ea784f3a86fe6a7ecb8ee791141866dc51c 100644
--- a/net/quic/quic_stream_factory.h
+++ b/net/quic/quic_stream_factory.h
@@ -76,7 +76,7 @@ class NET_EXPORT_PRIVATE QuicStreamRequest {
int Request(const HostPortPair& host_port_pair,
PrivacyMode privacy_mode,
int cert_verify_flags,
- base::StringPiece origin_host,
+ const GURL& url,
base::StringPiece method,
const BoundNetLog& net_log,
const CompletionCallback& callback);
@@ -101,6 +101,7 @@ class NET_EXPORT_PRIVATE QuicStreamRequest {
QuicStreamFactory* factory_;
HostPortPair host_port_pair_;
std::string origin_host_;
+ string url_;
PrivacyMode privacy_mode_;
BoundNetLog net_log_;
CompletionCallback callback_;
@@ -172,7 +173,7 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
int Create(const HostPortPair& host_port_pair,
PrivacyMode privacy_mode,
int cert_verify_flags,
- base::StringPiece origin_host,
+ const GURL& url,
base::StringPiece method,
const BoundNetLog& net_log,
QuicStreamRequest* request);
@@ -528,6 +529,8 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
NetworkConnection network_connection_;
+ int num_push_streams_created_;
+
QuicClientPushPromiseIndex push_promise_index_;
base::TaskRunner* task_runner_;
« no previous file with comments | « net/quic/quic_http_stream_test.cc ('k') | net/quic/quic_stream_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698