| 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 <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 // ----------------------------- | 72 // ----------------------------- |
| 73 | 73 |
| 74 base::WeakPtr<HttpServerProperties> GetWeakPtr() override; | 74 base::WeakPtr<HttpServerProperties> GetWeakPtr() override; |
| 75 void Clear() override; | 75 void Clear() override; |
| 76 bool SupportsRequestPriority(const HostPortPair& server) override; | 76 bool SupportsRequestPriority(const HostPortPair& server) override; |
| 77 void SetSupportsSpdy(const HostPortPair& server, bool support_spdy) override; | 77 void SetSupportsSpdy(const HostPortPair& server, bool support_spdy) override; |
| 78 bool RequiresHTTP11(const HostPortPair& server) override; | 78 bool RequiresHTTP11(const HostPortPair& server) override; |
| 79 void SetHTTP11Required(const HostPortPair& server) override; | 79 void SetHTTP11Required(const HostPortPair& server) override; |
| 80 void MaybeForceHTTP11(const HostPortPair& server, | 80 void MaybeForceHTTP11(const HostPortPair& server, |
| 81 SSLConfig* ssl_config) override; | 81 SSLConfig* ssl_config) override; |
| 82 bool HasAlternateProtocol(const HostPortPair& server) override; | |
| 83 AlternateProtocolInfo GetAlternateProtocol( | 82 AlternateProtocolInfo GetAlternateProtocol( |
| 84 const HostPortPair& server) override; | 83 const HostPortPair& server) override; |
| 85 void SetAlternateProtocol(const HostPortPair& server, | 84 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(const HostPortPair& server) override; |
| 90 bool WasAlternateProtocolRecentlyBroken(const HostPortPair& server) override; | 89 bool WasAlternateProtocolRecentlyBroken(const HostPortPair& server) override; |
| 91 void ConfirmAlternateProtocol(const HostPortPair& server) override; | 90 void ConfirmAlternateProtocol(const HostPortPair& server) override; |
| 92 void ClearAlternateProtocol(const HostPortPair& server) override; | 91 void ClearAlternateProtocol(const HostPortPair& server) override; |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 double alternate_protocol_probability_threshold_; | 162 double alternate_protocol_probability_threshold_; |
| 164 | 163 |
| 165 base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_; | 164 base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_; |
| 166 | 165 |
| 167 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl); | 166 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl); |
| 168 }; | 167 }; |
| 169 | 168 |
| 170 } // namespace net | 169 } // namespace net |
| 171 | 170 |
| 172 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ | 171 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ |
| OLD | NEW |