OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ | 5 #ifndef NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ |
6 #define NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ | 6 #define NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 BrokenAlternateProtocolMap broken_alternate_protocol_map_; | 181 BrokenAlternateProtocolMap broken_alternate_protocol_map_; |
182 | 182 |
183 SpdySettingsMap spdy_settings_map_; | 183 SpdySettingsMap spdy_settings_map_; |
184 SupportsQuicMap supports_quic_map_; | 184 SupportsQuicMap supports_quic_map_; |
185 ServerNetworkStatsMap server_network_stats_map_; | 185 ServerNetworkStatsMap server_network_stats_map_; |
186 // Contains a map of servers which could share the same alternate protocol. | 186 // Contains a map of servers which could share the same alternate protocol. |
187 // Map from a Canonical host/port (host is some postfix of host names) to an | 187 // Map from a Canonical host/port (host is some postfix of host names) to an |
188 // actual origin, which has a plausible alternate protocol mapping. | 188 // actual origin, which has a plausible alternate protocol mapping. |
189 CanonicalHostMap canonical_host_to_origin_map_; | 189 CanonicalHostMap canonical_host_to_origin_map_; |
190 // Contains list of suffixes (for exmaple ".c.youtube.com", | 190 // Contains list of suffixes (for exmaple ".c.youtube.com", |
191 // ".googlevideo.com", ".googleusercontent.com") of canoncial hostnames. | 191 // ".googlevideo.com", ".googleusercontent.com") of canonical hostnames. |
192 CanonicalSufficList canoncial_suffixes_; | 192 CanonicalSufficList canonical_suffixes_; |
193 | 193 |
194 double alternate_protocol_probability_threshold_; | 194 double alternate_protocol_probability_threshold_; |
195 | 195 |
196 base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_; | 196 base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_; |
197 | 197 |
198 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl); | 198 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl); |
199 }; | 199 }; |
200 | 200 |
201 } // namespace net | 201 } // namespace net |
202 | 202 |
203 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ | 203 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ |
OLD | NEW |