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 bool HasAlternateProtocol(const HostPortPair& server) override; | |
90 AlternateProtocolInfo GetAlternateProtocol( | 89 AlternateProtocolInfo GetAlternateProtocol( |
91 const HostPortPair& server) override; | 90 const HostPortPair& server) override; |
92 void SetAlternateProtocol(const HostPortPair& server, | 91 void SetAlternateProtocol(const HostPortPair& server, |
93 uint16 alternate_port, | 92 uint16 alternate_port, |
94 AlternateProtocol alternate_protocol, | 93 AlternateProtocol alternate_protocol, |
95 double alternate_probability) override; | 94 double alternate_probability) override; |
96 void SetBrokenAlternateProtocol(const HostPortPair& server) override; | 95 void SetBrokenAlternateProtocol(const HostPortPair& server) override; |
97 bool WasAlternateProtocolRecentlyBroken(const HostPortPair& server) override; | 96 bool WasAlternateProtocolRecentlyBroken(const HostPortPair& server) override; |
98 void ConfirmAlternateProtocol(const HostPortPair& server) override; | 97 void ConfirmAlternateProtocol(const HostPortPair& server) override; |
99 void ClearAlternateProtocol(const HostPortPair& server) override; | 98 void ClearAlternateProtocol(const HostPortPair& server) override; |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 // Used to get |weak_ptr_| to self on the network thread. | 217 // Used to get |weak_ptr_| to self on the network thread. |
219 scoped_ptr<base::WeakPtrFactory<HttpServerPropertiesManager> > | 218 scoped_ptr<base::WeakPtrFactory<HttpServerPropertiesManager> > |
220 network_weak_ptr_factory_; | 219 network_weak_ptr_factory_; |
221 | 220 |
222 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesManager); | 221 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesManager); |
223 }; | 222 }; |
224 | 223 |
225 } // namespace net | 224 } // namespace net |
226 | 225 |
227 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_ | 226 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_ |
OLD | NEW |