| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 bool SupportsRequestPriority(const url::SchemeHostPort& server) override; | 77 bool SupportsRequestPriority(const url::SchemeHostPort& server) override; |
| 78 bool GetSupportsSpdy(const url::SchemeHostPort& server) override; | 78 bool GetSupportsSpdy(const url::SchemeHostPort& server) override; |
| 79 void SetSupportsSpdy(const url::SchemeHostPort& server, | 79 void SetSupportsSpdy(const url::SchemeHostPort& server, |
| 80 bool support_spdy) override; | 80 bool support_spdy) override; |
| 81 bool RequiresHTTP11(const HostPortPair& server) override; | 81 bool RequiresHTTP11(const HostPortPair& server) override; |
| 82 void SetHTTP11Required(const HostPortPair& server) override; | 82 void SetHTTP11Required(const HostPortPair& server) override; |
| 83 void MaybeForceHTTP11(const HostPortPair& server, | 83 void MaybeForceHTTP11(const HostPortPair& server, |
| 84 SSLConfig* ssl_config) override; | 84 SSLConfig* ssl_config) override; |
| 85 AlternativeServiceInfoVector GetAlternativeServiceInfos( | 85 AlternativeServiceInfoVector GetAlternativeServiceInfos( |
| 86 const url::SchemeHostPort& origin) override; | 86 const url::SchemeHostPort& origin) override; |
| 87 bool SetAlternativeService(const url::SchemeHostPort& origin, | 87 bool SetHttp2AlternativeService(const url::SchemeHostPort& origin, |
| 88 const AlternativeService& alternative_service, | 88 const AlternativeService& alternative_service, |
| 89 base::Time expiration) override; | 89 base::Time expiration) override; |
| 90 bool SetQuicAlternativeService( |
| 91 const url::SchemeHostPort& origin, |
| 92 const AlternativeService& alternative_service, |
| 93 base::Time expiration, |
| 94 const QuicVersionVector& advertised_versions) override; |
| 90 bool SetAlternativeServices(const url::SchemeHostPort& origin, | 95 bool SetAlternativeServices(const url::SchemeHostPort& origin, |
| 91 const AlternativeServiceInfoVector& | 96 const AlternativeServiceInfoVector& |
| 92 alternative_service_info_vector) override; | 97 alternative_service_info_vector) override; |
| 93 void MarkAlternativeServiceBroken( | 98 void MarkAlternativeServiceBroken( |
| 94 const AlternativeService& alternative_service) override; | 99 const AlternativeService& alternative_service) override; |
| 95 void MarkAlternativeServiceRecentlyBroken( | 100 void MarkAlternativeServiceRecentlyBroken( |
| 96 const AlternativeService& alternative_service) override; | 101 const AlternativeService& alternative_service) override; |
| 97 bool IsAlternativeServiceBroken( | 102 bool IsAlternativeServiceBroken( |
| 98 const AlternativeService& alternative_service) const override; | 103 const AlternativeService& alternative_service) const override; |
| 99 bool WasAlternativeServiceRecentlyBroken( | 104 bool WasAlternativeServiceRecentlyBroken( |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 size_t max_server_configs_stored_in_properties_; | 174 size_t max_server_configs_stored_in_properties_; |
| 170 | 175 |
| 171 THREAD_CHECKER(thread_checker_); | 176 THREAD_CHECKER(thread_checker_); |
| 172 | 177 |
| 173 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl); | 178 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl); |
| 174 }; | 179 }; |
| 175 | 180 |
| 176 } // namespace net | 181 } // namespace net |
| 177 | 182 |
| 178 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ | 183 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ |
| OLD | NEW |