| 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 void MarkAlternativeServiceBroken( | 127 void MarkAlternativeServiceBroken( |
| 128 const AlternativeService& alternative_service) override; | 128 const AlternativeService& alternative_service) override; |
| 129 void MarkAlternativeServiceRecentlyBroken( | 129 void MarkAlternativeServiceRecentlyBroken( |
| 130 const AlternativeService& alternative_service) override; | 130 const AlternativeService& alternative_service) override; |
| 131 bool IsAlternativeServiceBroken( | 131 bool IsAlternativeServiceBroken( |
| 132 const AlternativeService& alternative_service) const override; | 132 const AlternativeService& alternative_service) const override; |
| 133 bool WasAlternativeServiceRecentlyBroken( | 133 bool WasAlternativeServiceRecentlyBroken( |
| 134 const AlternativeService& alternative_service) override; | 134 const AlternativeService& alternative_service) override; |
| 135 void ConfirmAlternativeService( | 135 void ConfirmAlternativeService( |
| 136 const AlternativeService& alternative_service) override; | 136 const AlternativeService& alternative_service) override; |
| 137 void ClearAlternativeServices(const url::SchemeHostPort& origin) override; | |
| 138 const AlternativeServiceMap& alternative_service_map() const override; | 137 const AlternativeServiceMap& alternative_service_map() const override; |
| 139 std::unique_ptr<base::Value> GetAlternativeServiceInfoAsValue() | 138 std::unique_ptr<base::Value> GetAlternativeServiceInfoAsValue() |
| 140 const override; | 139 const override; |
| 141 const SettingsMap& GetSpdySettings( | 140 const SettingsMap& GetSpdySettings( |
| 142 const url::SchemeHostPort& server) override; | 141 const url::SchemeHostPort& server) override; |
| 143 bool SetSpdySetting(const url::SchemeHostPort& server, | 142 bool SetSpdySetting(const url::SchemeHostPort& server, |
| 144 SpdySettingsIds id, | 143 SpdySettingsIds id, |
| 145 SpdySettingsFlags flags, | 144 SpdySettingsFlags flags, |
| 146 uint32_t value) override; | 145 uint32_t value) override; |
| 147 void ClearSpdySettings(const url::SchemeHostPort& server) override; | 146 void ClearSpdySettings(const url::SchemeHostPort& server) override; |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 323 // Used to get |weak_ptr_| to self on the network thread. | 322 // Used to get |weak_ptr_| to self on the network thread. |
| 324 std::unique_ptr<base::WeakPtrFactory<HttpServerPropertiesManager>> | 323 std::unique_ptr<base::WeakPtrFactory<HttpServerPropertiesManager>> |
| 325 network_weak_ptr_factory_; | 324 network_weak_ptr_factory_; |
| 326 | 325 |
| 327 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesManager); | 326 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesManager); |
| 328 }; | 327 }; |
| 329 | 328 |
| 330 } // namespace net | 329 } // namespace net |
| 331 | 330 |
| 332 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_ | 331 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_ |
| OLD | NEW |