| 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 AlternativeService GetAlternativeService(const HostPortPair& origin) override; | 89 AlternativeService GetAlternativeService(const HostPortPair& origin) override; |
| 90 void SetAlternateProtocol(const HostPortPair& origin, | 90 void SetAlternativeService(const HostPortPair& origin, |
| 91 uint16 alternate_port, | 91 const AlternativeService& alternative_service, |
| 92 AlternateProtocol alternate_protocol, | 92 double alternative_probability) override; |
| 93 double alternate_probability) override; | 93 void MarkAlternativeServiceBroken( |
| 94 void SetBrokenAlternateProtocol(const HostPortPair& origin) override; | 94 const AlternativeService& alternative_service) override; |
| 95 void MarkAlternativeServiceRecentlyBroken( | 95 void MarkAlternativeServiceRecentlyBroken( |
| 96 const AlternativeService& alternative_service) override; | 96 const AlternativeService& alternative_service) override; |
| 97 bool IsAlternativeServiceBroken( | 97 bool IsAlternativeServiceBroken( |
| 98 const AlternativeService& alternative_service) override; | 98 const AlternativeService& alternative_service) override; |
| 99 bool WasAlternateProtocolRecentlyBroken(const HostPortPair& origin) override; | 99 bool WasAlternativeServiceRecentlyBroken( |
| 100 void ConfirmAlternateProtocol(const HostPortPair& origin) override; | 100 const AlternativeService& alternative_service) override; |
| 101 void ClearAlternateProtocol(const HostPortPair& origin) override; | 101 void ConfirmAlternativeService( |
| 102 const AlternativeService& alternative_service) override; |
| 103 void ClearAlternativeService(const HostPortPair& origin) override; |
| 102 const AlternateProtocolMap& alternate_protocol_map() const override; | 104 const AlternateProtocolMap& alternate_protocol_map() const override; |
| 103 void SetAlternateProtocolProbabilityThreshold(double threshold) override; | 105 void SetAlternateProtocolProbabilityThreshold(double threshold) override; |
| 104 const SettingsMap& GetSpdySettings( | 106 const SettingsMap& GetSpdySettings( |
| 105 const HostPortPair& host_port_pair) override; | 107 const HostPortPair& host_port_pair) override; |
| 106 bool SetSpdySetting(const HostPortPair& host_port_pair, | 108 bool SetSpdySetting(const HostPortPair& host_port_pair, |
| 107 SpdySettingsIds id, | 109 SpdySettingsIds id, |
| 108 SpdySettingsFlags flags, | 110 SpdySettingsFlags flags, |
| 109 uint32 value) override; | 111 uint32 value) override; |
| 110 void ClearSpdySettings(const HostPortPair& host_port_pair) override; | 112 void ClearSpdySettings(const HostPortPair& host_port_pair) override; |
| 111 void ClearAllSpdySettings() override; | 113 void ClearAllSpdySettings() override; |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 // Used to get |weak_ptr_| to self on the network thread. | 247 // Used to get |weak_ptr_| to self on the network thread. |
| 246 scoped_ptr<base::WeakPtrFactory<HttpServerPropertiesManager> > | 248 scoped_ptr<base::WeakPtrFactory<HttpServerPropertiesManager> > |
| 247 network_weak_ptr_factory_; | 249 network_weak_ptr_factory_; |
| 248 | 250 |
| 249 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesManager); | 251 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesManager); |
| 250 }; | 252 }; |
| 251 | 253 |
| 252 } // namespace net | 254 } // namespace net |
| 253 | 255 |
| 254 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_ | 256 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_ |
| OLD | NEW |