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 <deque> | 8 #include <deque> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 const HostPortPair& host_port_pair) override; | 108 const HostPortPair& host_port_pair) override; |
109 bool SetSpdySetting(const HostPortPair& host_port_pair, | 109 bool SetSpdySetting(const HostPortPair& host_port_pair, |
110 SpdySettingsIds id, | 110 SpdySettingsIds id, |
111 SpdySettingsFlags flags, | 111 SpdySettingsFlags flags, |
112 uint32 value) override; | 112 uint32 value) override; |
113 void ClearSpdySettings(const HostPortPair& host_port_pair) override; | 113 void ClearSpdySettings(const HostPortPair& host_port_pair) override; |
114 void ClearAllSpdySettings() override; | 114 void ClearAllSpdySettings() override; |
115 const SpdySettingsMap& spdy_settings_map() const override; | 115 const SpdySettingsMap& spdy_settings_map() const override; |
116 bool GetSupportsQuic(IPAddressNumber* last_address) const override; | 116 bool GetSupportsQuic(IPAddressNumber* last_address) const override; |
117 void SetSupportsQuic(bool used_quic, const IPAddressNumber& address) override; | 117 void SetSupportsQuic(bool used_quic, const IPAddressNumber& address) override; |
118 void SetServerNetworkStats(const HostPortPair& host_port_pair, | 118 bool SetServerNetworkStats(const HostPortPair& host_port_pair, |
119 ServerNetworkStats stats) override; | 119 ServerNetworkStats stats) override; |
120 const ServerNetworkStats* GetServerNetworkStats( | 120 const ServerNetworkStats* GetServerNetworkStats( |
121 const HostPortPair& host_port_pair) override; | 121 const HostPortPair& host_port_pair) override; |
122 const ServerNetworkStatsMap& server_network_stats_map() const override; | 122 const ServerNetworkStatsMap& server_network_stats_map() const override; |
123 | 123 |
124 private: | 124 private: |
125 friend class HttpServerPropertiesImplPeer; | 125 friend class HttpServerPropertiesImplPeer; |
126 | 126 |
127 // |spdy_servers_map_| has flattened representation of servers (host, port) | 127 // |spdy_servers_map_| has flattened representation of servers (host, port) |
128 // that either support or not support SPDY protocol. | 128 // that either support or not support SPDY protocol. |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 double alternative_service_probability_threshold_; | 173 double alternative_service_probability_threshold_; |
174 | 174 |
175 base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_; | 175 base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_; |
176 | 176 |
177 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl); | 177 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl); |
178 }; | 178 }; |
179 | 179 |
180 } // namespace net | 180 } // namespace net |
181 | 181 |
182 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ | 182 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ |
OLD | NEW |