| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 // ----------------------------- | 73 // ----------------------------- |
| 74 | 74 |
| 75 base::WeakPtr<HttpServerProperties> GetWeakPtr() override; | 75 base::WeakPtr<HttpServerProperties> GetWeakPtr() override; |
| 76 void Clear() override; | 76 void Clear() override; |
| 77 bool SupportsRequestPriority(const HostPortPair& server) override; | 77 bool SupportsRequestPriority(const HostPortPair& server) override; |
| 78 void SetSupportsSpdy(const HostPortPair& server, bool support_spdy) override; | 78 void SetSupportsSpdy(const HostPortPair& server, bool support_spdy) override; |
| 79 bool RequiresHTTP11(const HostPortPair& server) override; | 79 bool RequiresHTTP11(const HostPortPair& server) override; |
| 80 void SetHTTP11Required(const HostPortPair& server) override; | 80 void SetHTTP11Required(const HostPortPair& server) override; |
| 81 void MaybeForceHTTP11(const HostPortPair& server, | 81 void MaybeForceHTTP11(const HostPortPair& server, |
| 82 SSLConfig* ssl_config) override; | 82 SSLConfig* ssl_config) override; |
| 83 AlternateProtocolInfo GetAlternateProtocol( | 83 AlternateProtocols GetAlternateProtocols(const HostPortPair& server) override; |
| 84 const HostPortPair& server) override; | 84 void AddAlternateProtocol(const HostPortPair& server, |
| 85 void SetAlternateProtocol(const HostPortPair& server, | |
| 86 uint16 alternate_port, | 85 uint16 alternate_port, |
| 87 AlternateProtocol alternate_protocol, | 86 AlternateProtocol alternate_protocol, |
| 88 double probability) override; | 87 double probability) override; |
| 89 void SetBrokenAlternateProtocol(const HostPortPair& server) override; | 88 void SetBrokenAlternateProtocol( |
| 90 bool WasAlternateProtocolRecentlyBroken(const HostPortPair& server) override; | 89 const HostPortPair& server, |
| 91 void ConfirmAlternateProtocol(const HostPortPair& server) override; | 90 const AlternateProtocolInfo& broken_alternate_protocol) override; |
| 92 void ClearAlternateProtocol(const HostPortPair& server) override; | 91 bool WasAlternateProtocolRecentlyBroken( |
| 92 const HostPortPair& server, |
| 93 const AlternateProtocolInfo& alternate_protocol) const override; |
| 94 void ConfirmAlternateProtocol( |
| 95 const HostPortPair& server, |
| 96 const AlternateProtocolInfo& alternate_protocol) override; |
| 97 void ClearAlternateProtocols(const HostPortPair& server) override; |
| 98 void ClearNonBrokenAlternateProtocols(const HostPortPair& server) override; |
| 99 void RemoveAlternateProtocol( |
| 100 const HostPortPair& server, |
| 101 const AlternateProtocolInfo& alternate_protocol) override; |
| 93 const AlternateProtocolMap& alternate_protocol_map() const override; | 102 const AlternateProtocolMap& alternate_protocol_map() const override; |
| 94 void SetAlternateProtocolProbabilityThreshold(double threshold) override; | 103 void SetAlternateProtocolProbabilityThreshold(double threshold) override; |
| 95 const SettingsMap& GetSpdySettings( | 104 const SettingsMap& GetSpdySettings( |
| 96 const HostPortPair& host_port_pair) override; | 105 const HostPortPair& host_port_pair) override; |
| 97 bool SetSpdySetting(const HostPortPair& host_port_pair, | 106 bool SetSpdySetting(const HostPortPair& host_port_pair, |
| 98 SpdySettingsIds id, | 107 SpdySettingsIds id, |
| 99 SpdySettingsFlags flags, | 108 SpdySettingsFlags flags, |
| 100 uint32 value) override; | 109 uint32 value) override; |
| 101 void ClearSpdySettings(const HostPortPair& host_port_pair) override; | 110 void ClearSpdySettings(const HostPortPair& host_port_pair) override; |
| 102 void ClearAllSpdySettings() override; | 111 void ClearAllSpdySettings() override; |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 double alternate_protocol_probability_threshold_; | 200 double alternate_protocol_probability_threshold_; |
| 192 | 201 |
| 193 base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_; | 202 base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_; |
| 194 | 203 |
| 195 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl); | 204 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl); |
| 196 }; | 205 }; |
| 197 | 206 |
| 198 } // namespace net | 207 } // namespace net |
| 199 | 208 |
| 200 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ | 209 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ |
| OLD | NEW |