| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_IMPL_H_ | 5 #ifndef NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ |
| 6 #define NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ | 6 #define NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 const AlternativeService& alternative_service) const override; | 103 const AlternativeService& alternative_service) const override; |
| 104 bool WasAlternativeServiceRecentlyBroken( | 104 bool WasAlternativeServiceRecentlyBroken( |
| 105 const AlternativeService& alternative_service) override; | 105 const AlternativeService& alternative_service) override; |
| 106 void ConfirmAlternativeService( | 106 void ConfirmAlternativeService( |
| 107 const AlternativeService& alternative_service) override; | 107 const AlternativeService& alternative_service) override; |
| 108 void ClearAlternativeServices(const HostPortPair& origin) override; | 108 void ClearAlternativeServices(const HostPortPair& origin) override; |
| 109 const AlternativeServiceMap& alternative_service_map() const override; | 109 const AlternativeServiceMap& alternative_service_map() const override; |
| 110 std::unique_ptr<base::Value> GetAlternativeServiceInfoAsValue() | 110 std::unique_ptr<base::Value> GetAlternativeServiceInfoAsValue() |
| 111 const override; | 111 const override; |
| 112 const SettingsMap& GetSpdySettings( | 112 const SettingsMap& GetSpdySettings( |
| 113 const HostPortPair& host_port_pair) override; | 113 const url::SchemeHostPort& server) override; |
| 114 bool SetSpdySetting(const HostPortPair& host_port_pair, | 114 bool SetSpdySetting(const url::SchemeHostPort& server, |
| 115 SpdySettingsIds id, | 115 SpdySettingsIds id, |
| 116 SpdySettingsFlags flags, | 116 SpdySettingsFlags flags, |
| 117 uint32_t value) override; | 117 uint32_t value) override; |
| 118 void ClearSpdySettings(const HostPortPair& host_port_pair) override; | 118 void ClearSpdySettings(const url::SchemeHostPort& server) override; |
| 119 void ClearAllSpdySettings() override; | 119 void ClearAllSpdySettings() override; |
| 120 const SpdySettingsMap& spdy_settings_map() const override; | 120 const SpdySettingsMap& spdy_settings_map() const override; |
| 121 bool GetSupportsQuic(IPAddress* last_address) const override; | 121 bool GetSupportsQuic(IPAddress* last_address) const override; |
| 122 void SetSupportsQuic(bool used_quic, const IPAddress& address) override; | 122 void SetSupportsQuic(bool used_quic, const IPAddress& address) override; |
| 123 void SetServerNetworkStats(const HostPortPair& host_port_pair, | 123 void SetServerNetworkStats(const HostPortPair& host_port_pair, |
| 124 ServerNetworkStats stats) override; | 124 ServerNetworkStats stats) override; |
| 125 const ServerNetworkStats* GetServerNetworkStats( | 125 const ServerNetworkStats* GetServerNetworkStats( |
| 126 const HostPortPair& host_port_pair) override; | 126 const HostPortPair& host_port_pair) override; |
| 127 const ServerNetworkStatsMap& server_network_stats_map() const override; | 127 const ServerNetworkStatsMap& server_network_stats_map() const override; |
| 128 bool SetQuicServerInfo(const QuicServerId& server_id, | 128 bool SetQuicServerInfo(const QuicServerId& server_id, |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 size_t max_server_configs_stored_in_properties_; | 188 size_t max_server_configs_stored_in_properties_; |
| 189 | 189 |
| 190 base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_; | 190 base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_; |
| 191 | 191 |
| 192 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl); | 192 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl); |
| 193 }; | 193 }; |
| 194 | 194 |
| 195 } // namespace net | 195 } // namespace net |
| 196 | 196 |
| 197 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ | 197 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ |
| OLD | NEW |