| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 | 86 |
| 87 base::WeakPtr<HttpServerProperties> GetWeakPtr() override; | 87 base::WeakPtr<HttpServerProperties> GetWeakPtr() override; |
| 88 void Clear() override; | 88 void Clear() override; |
| 89 bool SupportsRequestPriority(const HostPortPair& server) override; | 89 bool SupportsRequestPriority(const HostPortPair& server) override; |
| 90 void SetSupportsSpdy(const HostPortPair& server, bool support_spdy) override; | 90 void SetSupportsSpdy(const HostPortPair& server, bool support_spdy) override; |
| 91 bool RequiresHTTP11(const HostPortPair& server) override; | 91 bool RequiresHTTP11(const HostPortPair& server) override; |
| 92 void SetHTTP11Required(const HostPortPair& server) override; | 92 void SetHTTP11Required(const HostPortPair& server) override; |
| 93 void MaybeForceHTTP11(const HostPortPair& server, | 93 void MaybeForceHTTP11(const HostPortPair& server, |
| 94 SSLConfig* ssl_config) override; | 94 SSLConfig* ssl_config) override; |
| 95 AlternativeService GetAlternativeService(const HostPortPair& origin) override; | 95 AlternativeService GetAlternativeService(const HostPortPair& origin) override; |
| 96 void SetAlternateProtocol(const HostPortPair& origin, | 96 void SetAlternativeService(const HostPortPair& origin, |
| 97 uint16 alternate_port, | 97 const AlternativeService& alternative_service, |
| 98 AlternateProtocol alternate_protocol, | 98 double alternative_probability) override; |
| 99 double probability) override; | 99 void MarkAlternativeServiceBroken( |
| 100 void SetBrokenAlternateProtocol(const HostPortPair& origin) override; | 100 const AlternativeService& alternative_service) override; |
| 101 void MarkAlternativeServiceRecentlyBroken( | 101 void MarkAlternativeServiceRecentlyBroken( |
| 102 const AlternativeService& alternative_service) override; | 102 const AlternativeService& alternative_service) override; |
| 103 bool IsAlternativeServiceBroken( | 103 bool IsAlternativeServiceBroken( |
| 104 const AlternativeService& alternative_service) override; | 104 const AlternativeService& alternative_service) override; |
| 105 bool WasAlternateProtocolRecentlyBroken(const HostPortPair& origin) override; | 105 bool WasAlternativeServiceRecentlyBroken( |
| 106 void ConfirmAlternateProtocol(const HostPortPair& origin) override; | 106 const AlternativeService& alternative_service) override; |
| 107 void ClearAlternateProtocol(const HostPortPair& origin) override; | 107 void ConfirmAlternativeService( |
| 108 const AlternativeService& alternative_service) override; |
| 109 void ClearAlternativeService(const HostPortPair& origin) override; |
| 108 const AlternateProtocolMap& alternate_protocol_map() const override; | 110 const AlternateProtocolMap& alternate_protocol_map() const override; |
| 109 void SetAlternateProtocolProbabilityThreshold(double threshold) override; | 111 void SetAlternateProtocolProbabilityThreshold(double threshold) override; |
| 110 const SettingsMap& GetSpdySettings( | 112 const SettingsMap& GetSpdySettings( |
| 111 const HostPortPair& host_port_pair) override; | 113 const HostPortPair& host_port_pair) override; |
| 112 bool SetSpdySetting(const HostPortPair& host_port_pair, | 114 bool SetSpdySetting(const HostPortPair& host_port_pair, |
| 113 SpdySettingsIds id, | 115 SpdySettingsIds id, |
| 114 SpdySettingsFlags flags, | 116 SpdySettingsFlags flags, |
| 115 uint32 value) override; | 117 uint32 value) override; |
| 116 void ClearSpdySettings(const HostPortPair& host_port_pair) override; | 118 void ClearSpdySettings(const HostPortPair& host_port_pair) override; |
| 117 void ClearAllSpdySettings() override; | 119 void ClearAllSpdySettings() override; |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 double alternate_protocol_probability_threshold_; | 178 double alternate_protocol_probability_threshold_; |
| 177 | 179 |
| 178 base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_; | 180 base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_; |
| 179 | 181 |
| 180 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl); | 182 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl); |
| 181 }; | 183 }; |
| 182 | 184 |
| 183 } // namespace net | 185 } // namespace net |
| 184 | 186 |
| 185 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ | 187 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ |
| OLD | NEW |