| 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 // exists. | 74 // exists. |
| 75 std::string GetCanonicalSuffix(const std::string& host); | 75 std::string GetCanonicalSuffix(const std::string& host); |
| 76 | 76 |
| 77 // ----------------------------- | 77 // ----------------------------- |
| 78 // HttpServerProperties methods: | 78 // HttpServerProperties methods: |
| 79 // ----------------------------- | 79 // ----------------------------- |
| 80 | 80 |
| 81 base::WeakPtr<HttpServerProperties> GetWeakPtr() override; | 81 base::WeakPtr<HttpServerProperties> GetWeakPtr() override; |
| 82 void Clear() override; | 82 void Clear() override; |
| 83 bool SupportsRequestPriority(const HostPortPair& server) override; | 83 bool SupportsRequestPriority(const HostPortPair& server) override; |
| 84 bool GetSupportsSpdy(const HostPortPair& server) override; |
| 84 void SetSupportsSpdy(const HostPortPair& server, bool support_spdy) override; | 85 void SetSupportsSpdy(const HostPortPair& server, bool support_spdy) override; |
| 85 bool RequiresHTTP11(const HostPortPair& server) override; | 86 bool RequiresHTTP11(const HostPortPair& server) override; |
| 86 void SetHTTP11Required(const HostPortPair& server) override; | 87 void SetHTTP11Required(const HostPortPair& server) override; |
| 87 void MaybeForceHTTP11(const HostPortPair& server, | 88 void MaybeForceHTTP11(const HostPortPair& server, |
| 88 SSLConfig* ssl_config) override; | 89 SSLConfig* ssl_config) override; |
| 89 AlternativeService GetAlternativeService(const HostPortPair& origin) override; | 90 AlternativeService GetAlternativeService(const HostPortPair& origin) override; |
| 90 void SetAlternativeService(const HostPortPair& origin, | 91 void SetAlternativeService(const HostPortPair& origin, |
| 91 const AlternativeService& alternative_service, | 92 const AlternativeService& alternative_service, |
| 92 double alternative_probability) override; | 93 double alternative_probability) override; |
| 93 void MarkAlternativeServiceBroken( | 94 void MarkAlternativeServiceBroken( |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 double alternative_service_probability_threshold_; | 174 double alternative_service_probability_threshold_; |
| 174 | 175 |
| 175 base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_; | 176 base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_; |
| 176 | 177 |
| 177 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl); | 178 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl); |
| 178 }; | 179 }; |
| 179 | 180 |
| 180 } // namespace net | 181 } // namespace net |
| 181 | 182 |
| 182 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ | 183 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ |
| OLD | NEW |