| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef NET_QUIC_QUIC_CLIENT_PUSH_PROMISE_INDEX_H_ | 5 #ifndef NET_QUIC_QUIC_CLIENT_PUSH_PROMISE_INDEX_H_ |
| 6 #define NET_QUIC_QUIC_CLIENT_PUSH_PROMISE_INDEX_H_ | 6 #define NET_QUIC_QUIC_CLIENT_PUSH_PROMISE_INDEX_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "net/quic/quic_client_session_base.h" | 10 #include "net/quic/core/quic_client_session_base.h" |
| 11 #include "net/quic/quic_types.h" | 11 #include "net/quic/core/quic_types.h" |
| 12 | 12 |
| 13 namespace net { | 13 namespace net { |
| 14 | 14 |
| 15 // QuicClientPushPromiseIndex is the interface to support rendezvous | 15 // QuicClientPushPromiseIndex is the interface to support rendezvous |
| 16 // between client requests and resources delivered via server push. | 16 // between client requests and resources delivered via server push. |
| 17 // The same index can be shared across multiple sessions (e.g. for the | 17 // The same index can be shared across multiple sessions (e.g. for the |
| 18 // same browser users profile), since cross-origin pushes are allowed | 18 // same browser users profile), since cross-origin pushes are allowed |
| 19 // (subject to authority constraints). | 19 // (subject to authority constraints). |
| 20 | 20 |
| 21 class NET_EXPORT_PRIVATE QuicClientPushPromiseIndex { | 21 class NET_EXPORT_PRIVATE QuicClientPushPromiseIndex { |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 | 89 |
| 90 private: | 90 private: |
| 91 QuicPromisedByUrlMap promised_by_url_; | 91 QuicPromisedByUrlMap promised_by_url_; |
| 92 | 92 |
| 93 DISALLOW_COPY_AND_ASSIGN(QuicClientPushPromiseIndex); | 93 DISALLOW_COPY_AND_ASSIGN(QuicClientPushPromiseIndex); |
| 94 }; | 94 }; |
| 95 | 95 |
| 96 } // namespace net | 96 } // namespace net |
| 97 | 97 |
| 98 #endif // NET_QUIC_QUIC_CLIENT_PUSH_PROMISE_INDEX_H_ | 98 #endif // NET_QUIC_QUIC_CLIENT_PUSH_PROMISE_INDEX_H_ |
| OLD | NEW |