| 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 // Returns the canonical host suffix for |server|, or std::string() if none | 66 // Returns the canonical host suffix for |server|, or std::string() if none |
| 67 // exists. | 67 // exists. |
| 68 std::string GetCanonicalSuffix(const HostPortPair& server); | 68 std::string GetCanonicalSuffix(const HostPortPair& server); |
| 69 | 69 |
| 70 // ----------------------------- | 70 // ----------------------------- |
| 71 // HttpServerProperties methods: | 71 // HttpServerProperties methods: |
| 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 SupportsSpdy(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; | 82 bool HasAlternateProtocol(const HostPortPair& server) override; |
| 83 AlternateProtocolInfo GetAlternateProtocol( | 83 AlternateProtocolInfo GetAlternateProtocol( |
| 84 const HostPortPair& server) override; | 84 const HostPortPair& server) override; |
| 85 void SetAlternateProtocol(const HostPortPair& server, | 85 void SetAlternateProtocol(const HostPortPair& server, |
| 86 uint16 alternate_port, | 86 uint16 alternate_port, |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 double alternate_protocol_probability_threshold_; | 163 double alternate_protocol_probability_threshold_; |
| 164 | 164 |
| 165 base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_; | 165 base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_; |
| 166 | 166 |
| 167 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl); | 167 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl); |
| 168 }; | 168 }; |
| 169 | 169 |
| 170 } // namespace net | 170 } // namespace net |
| 171 | 171 |
| 172 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ | 172 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ |
| OLD | NEW |