OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_SPDY_SPDY_SESSION_KEY_H_ | 5 #ifndef NET_SPDY_SPDY_SESSION_KEY_H_ |
6 #define NET_SPDY_SPDY_SESSION_KEY_H_ | 6 #define NET_SPDY_SPDY_SESSION_KEY_H_ |
7 | 7 |
| 8 #include "net/base/net_export.h" |
8 #include "net/base/privacy_mode.h" | 9 #include "net/base/privacy_mode.h" |
9 #include "net/proxy/proxy_server.h" | 10 #include "net/proxy/proxy_server.h" |
10 | 11 |
11 namespace net { | 12 namespace net { |
12 | 13 |
13 // SpdySessionKey is used as unique index for SpdySessionPool. | 14 // SpdySessionKey is used as unique index for SpdySessionPool. |
14 class NET_EXPORT_PRIVATE SpdySessionKey { | 15 class NET_EXPORT_PRIVATE SpdySessionKey { |
15 public: | 16 public: |
16 SpdySessionKey(); | 17 SpdySessionKey(); |
17 SpdySessionKey(const HostPortPair& host_port_pair, | 18 SpdySessionKey(const HostPortPair& host_port_pair, |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 private: | 52 private: |
52 HostPortProxyPair host_port_proxy_pair_; | 53 HostPortProxyPair host_port_proxy_pair_; |
53 // If enabled, then session cannot be tracked by the server. | 54 // If enabled, then session cannot be tracked by the server. |
54 PrivacyMode privacy_mode_; | 55 PrivacyMode privacy_mode_; |
55 }; | 56 }; |
56 | 57 |
57 } // namespace net | 58 } // namespace net |
58 | 59 |
59 #endif // NET_SPDY_SPDY_SESSION_KEY_H_ | 60 #endif // NET_SPDY_SPDY_SESSION_KEY_H_ |
60 | 61 |
OLD | NEW |