| 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/base/net_export.h" |
| 10 #include "net/quic/core/quic_client_session_base.h" | 11 #include "net/quic/core/quic_client_session_base.h" |
| 11 #include "net/quic/core/quic_types.h" | 12 #include "net/quic/core/quic_types.h" |
| 12 | 13 |
| 13 namespace net { | 14 namespace net { |
| 14 | 15 |
| 15 // QuicClientPushPromiseIndex is the interface to support rendezvous | 16 // QuicClientPushPromiseIndex is the interface to support rendezvous |
| 16 // between client requests and resources delivered via server push. | 17 // between client requests and resources delivered via server push. |
| 17 // The same index can be shared across multiple sessions (e.g. for the | 18 // The same index can be shared across multiple sessions (e.g. for the |
| 18 // same browser users profile), since cross-origin pushes are allowed | 19 // same browser users profile), since cross-origin pushes are allowed |
| 19 // (subject to authority constraints). | 20 // (subject to authority constraints). |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 | 90 |
| 90 private: | 91 private: |
| 91 QuicPromisedByUrlMap promised_by_url_; | 92 QuicPromisedByUrlMap promised_by_url_; |
| 92 | 93 |
| 93 DISALLOW_COPY_AND_ASSIGN(QuicClientPushPromiseIndex); | 94 DISALLOW_COPY_AND_ASSIGN(QuicClientPushPromiseIndex); |
| 94 }; | 95 }; |
| 95 | 96 |
| 96 } // namespace net | 97 } // namespace net |
| 97 | 98 |
| 98 #endif // NET_QUIC_QUIC_CLIENT_PUSH_PROMISE_INDEX_H_ | 99 #endif // NET_QUIC_QUIC_CLIENT_PUSH_PROMISE_INDEX_H_ |
| OLD | NEW |