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 |