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

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 1 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
Index: net/quic/quic_stream_factory.h
diff --git a/net/quic/quic_stream_factory.h b/net/quic/quic_stream_factory.h
index b05dc1f0f2ceae52bbf0d6611412353a98ee7824..c5b6435f06794b40728b92eb7e68c422a5f3de62 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_;
@@ -171,7 +172,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);
@@ -527,6 +528,8 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
NetworkConnection network_connection_;
+ int num_push_streams_created_;
+
QuicClientPushPromiseIndex push_promise_index_;
base::TaskRunner* task_runner_;

Powered by Google App Engine
This is Rietveld 408576698