| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_MANAGER_H_ | 5 #ifndef NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_ |
| 6 #define NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_ | 6 #define NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 void SetSupportsSpdy(const HostPortPair& server, bool support_spdy) override; | 84 void SetSupportsSpdy(const HostPortPair& server, bool support_spdy) override; |
| 85 bool RequiresHTTP11(const HostPortPair& server) override; | 85 bool RequiresHTTP11(const HostPortPair& server) override; |
| 86 void SetHTTP11Required(const HostPortPair& server) override; | 86 void SetHTTP11Required(const HostPortPair& server) override; |
| 87 void MaybeForceHTTP11(const HostPortPair& server, | 87 void MaybeForceHTTP11(const HostPortPair& server, |
| 88 SSLConfig* ssl_config) override; | 88 SSLConfig* ssl_config) override; |
| 89 AlternateProtocolInfo GetAlternateProtocol( | 89 AlternativeService GetAlternativeService(const HostPortPair& origin) override; |
| 90 const HostPortPair& server) override; | |
| 91 void SetAlternateProtocol(const HostPortPair& server, | 90 void SetAlternateProtocol(const HostPortPair& server, |
| 92 uint16 alternate_port, | 91 uint16 alternate_port, |
| 93 AlternateProtocol alternate_protocol, | 92 AlternateProtocol alternate_protocol, |
| 94 double alternate_probability) override; | 93 double alternate_probability) override; |
| 95 void SetBrokenAlternateProtocol(const HostPortPair& server) override; | 94 void SetBrokenAlternateProtocol(const HostPortPair& server) override; |
| 96 void MarkAlternativeServiceRecentlyBroken( | 95 void MarkAlternativeServiceRecentlyBroken( |
| 97 const AlternativeService& alternative_service) override; | 96 const AlternativeService& alternative_service) override; |
| 98 bool IsAlternativeServiceBroken( | 97 bool IsAlternativeServiceBroken( |
| 99 const AlternativeService& alternative_service) override; | 98 const AlternativeService& alternative_service) override; |
| 100 bool WasAlternateProtocolRecentlyBroken(const HostPortPair& server) override; | 99 bool WasAlternateProtocolRecentlyBroken(const HostPortPair& server) override; |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 // Used to get |weak_ptr_| to self on the network thread. | 245 // Used to get |weak_ptr_| to self on the network thread. |
| 247 scoped_ptr<base::WeakPtrFactory<HttpServerPropertiesManager> > | 246 scoped_ptr<base::WeakPtrFactory<HttpServerPropertiesManager> > |
| 248 network_weak_ptr_factory_; | 247 network_weak_ptr_factory_; |
| 249 | 248 |
| 250 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesManager); | 249 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesManager); |
| 251 }; | 250 }; |
| 252 | 251 |
| 253 } // namespace net | 252 } // namespace net |
| 254 | 253 |
| 255 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_ | 254 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_ |
| OLD | NEW |