| 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 | 77 |
| 78 void Clear() override; | 78 void Clear() override; |
| 79 bool SupportsRequestPriority(const url::SchemeHostPort& server) override; | 79 bool SupportsRequestPriority(const url::SchemeHostPort& server) override; |
| 80 bool GetSupportsSpdy(const url::SchemeHostPort& server) override; | 80 bool GetSupportsSpdy(const url::SchemeHostPort& server) override; |
| 81 void SetSupportsSpdy(const url::SchemeHostPort& server, | 81 void SetSupportsSpdy(const url::SchemeHostPort& server, |
| 82 bool support_spdy) override; | 82 bool support_spdy) override; |
| 83 bool RequiresHTTP11(const HostPortPair& server) override; | 83 bool RequiresHTTP11(const HostPortPair& server) override; |
| 84 void SetHTTP11Required(const HostPortPair& server) override; | 84 void SetHTTP11Required(const HostPortPair& server) override; |
| 85 void MaybeForceHTTP11(const HostPortPair& server, | 85 void MaybeForceHTTP11(const HostPortPair& server, |
| 86 SSLConfig* ssl_config) override; | 86 SSLConfig* ssl_config) override; |
| 87 AlternativeServiceVector GetAlternativeServices( | 87 AlternativeServiceInfoVector GetAlternativeServiceInfos( |
| 88 const url::SchemeHostPort& origin) override; | 88 const url::SchemeHostPort& origin) override; |
| 89 bool SetAlternativeService(const url::SchemeHostPort& origin, | 89 bool SetAlternativeService(const url::SchemeHostPort& origin, |
| 90 const AlternativeService& alternative_service, | 90 const AlternativeService& alternative_service, |
| 91 base::Time expiration) override; | 91 base::Time expiration) override; |
| 92 bool SetAlternativeServices(const url::SchemeHostPort& origin, | 92 bool SetAlternativeServices(const url::SchemeHostPort& origin, |
| 93 const AlternativeServiceInfoVector& | 93 const AlternativeServiceInfoVector& |
| 94 alternative_service_info_vector) override; | 94 alternative_service_info_vector) override; |
| 95 void MarkAlternativeServiceBroken( | 95 void MarkAlternativeServiceBroken( |
| 96 const AlternativeService& alternative_service) override; | 96 const AlternativeService& alternative_service) override; |
| 97 void MarkAlternativeServiceRecentlyBroken( | 97 void MarkAlternativeServiceRecentlyBroken( |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 size_t max_server_configs_stored_in_properties_; | 176 size_t max_server_configs_stored_in_properties_; |
| 177 | 177 |
| 178 base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_; | 178 base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_; |
| 179 | 179 |
| 180 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl); | 180 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl); |
| 181 }; | 181 }; |
| 182 | 182 |
| 183 } // namespace net | 183 } // namespace net |
| 184 | 184 |
| 185 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ | 185 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ |
| OLD | NEW |