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

Unified Diff: net/quic/quic_client_push_promise_index.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_client_promised_info_test.cc ('k') | net/quic/quic_client_push_promise_index.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_client_push_promise_index.h
diff --git a/net/quic/quic_client_push_promise_index.h b/net/quic/quic_client_push_promise_index.h
index 55b1052f6237bce53949a3978bdcdf3d62b71add..d0601825d375d791421c3cafc47468dcac52c5bd 100644
--- a/net/quic/quic_client_push_promise_index.h
+++ b/net/quic/quic_client_push_promise_index.h
@@ -21,7 +21,7 @@ class NET_EXPORT_PRIVATE QuicClientPushPromiseIndex {
public:
// Delegate is used to complete the rendezvous that began with
// |Try()|.
- class Delegate {
+ class NET_EXPORT_PRIVATE Delegate {
public:
virtual ~Delegate(){};
@@ -61,6 +61,10 @@ class NET_EXPORT_PRIVATE QuicClientPushPromiseIndex {
QuicClientPushPromiseIndex();
virtual ~QuicClientPushPromiseIndex();
+ // Called by client code, used to enforce affinity between requests
+ // for promised streams and the session the promise came from.
+ QuicClientPromisedInfo* GetPromised(const string& url);
+
// Called by client code, to initiate rendezvous between a request
// and a server push stream. If |request|'s url is in the index,
// rendezvous will be attempted and may complete immediately or
« no previous file with comments | « net/quic/quic_client_promised_info_test.cc ('k') | net/quic/quic_client_push_promise_index.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698