| 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 <stdint.h> |    8 #include <stdint.h> | 
|    9  |    9  | 
|   10 #include <memory> |   10 #include <memory> | 
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  118  |  118  | 
|  119   void Clear() override; |  119   void Clear() override; | 
|  120   bool SupportsRequestPriority(const url::SchemeHostPort& server) override; |  120   bool SupportsRequestPriority(const url::SchemeHostPort& server) override; | 
|  121   bool GetSupportsSpdy(const url::SchemeHostPort& server) override; |  121   bool GetSupportsSpdy(const url::SchemeHostPort& server) override; | 
|  122   void SetSupportsSpdy(const url::SchemeHostPort& server, |  122   void SetSupportsSpdy(const url::SchemeHostPort& server, | 
|  123                        bool support_spdy) override; |  123                        bool support_spdy) override; | 
|  124   bool RequiresHTTP11(const HostPortPair& server) override; |  124   bool RequiresHTTP11(const HostPortPair& server) override; | 
|  125   void SetHTTP11Required(const HostPortPair& server) override; |  125   void SetHTTP11Required(const HostPortPair& server) override; | 
|  126   void MaybeForceHTTP11(const HostPortPair& server, |  126   void MaybeForceHTTP11(const HostPortPair& server, | 
|  127                         SSLConfig* ssl_config) override; |  127                         SSLConfig* ssl_config) override; | 
|  128   AlternativeServiceVector GetAlternativeServices( |  128   AlternativeServiceInfoVector GetAlternativeServiceInfos( | 
|  129       const url::SchemeHostPort& origin) override; |  129       const url::SchemeHostPort& origin) override; | 
|  130   bool SetAlternativeService(const url::SchemeHostPort& origin, |  130   bool SetAlternativeService(const url::SchemeHostPort& origin, | 
|  131                              const AlternativeService& alternative_service, |  131                              const AlternativeService& alternative_service, | 
|  132                              base::Time expiration) override; |  132                              base::Time expiration) override; | 
|  133   bool SetAlternativeServices(const url::SchemeHostPort& origin, |  133   bool SetAlternativeServices(const url::SchemeHostPort& origin, | 
|  134                               const AlternativeServiceInfoVector& |  134                               const AlternativeServiceInfoVector& | 
|  135                                   alternative_service_info_vector) override; |  135                                   alternative_service_info_vector) override; | 
|  136   void MarkAlternativeServiceBroken( |  136   void MarkAlternativeServiceBroken( | 
|  137       const AlternativeService& alternative_service) override; |  137       const AlternativeService& alternative_service) override; | 
|  138   void MarkAlternativeServiceRecentlyBroken( |  138   void MarkAlternativeServiceRecentlyBroken( | 
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  320   // Used to get |weak_ptr_| to self on the network thread. |  320   // Used to get |weak_ptr_| to self on the network thread. | 
|  321   std::unique_ptr<base::WeakPtrFactory<HttpServerPropertiesManager>> |  321   std::unique_ptr<base::WeakPtrFactory<HttpServerPropertiesManager>> | 
|  322       network_weak_ptr_factory_; |  322       network_weak_ptr_factory_; | 
|  323  |  323  | 
|  324   DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesManager); |  324   DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesManager); | 
|  325 }; |  325 }; | 
|  326  |  326  | 
|  327 }  // namespace net |  327 }  // namespace net | 
|  328  |  328  | 
|  329 #endif  // NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_ |  329 #endif  // NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_ | 
| OLD | NEW |