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 <deque> | 8 #include <deque> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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) const override; | 98 const AlternativeService& alternative_service) const override; |
99 bool WasAlternativeServiceRecentlyBroken( | 99 bool WasAlternativeServiceRecentlyBroken( |
100 const AlternativeService& alternative_service) override; | 100 const AlternativeService& alternative_service) override; |
101 void ConfirmAlternativeService( | 101 void ConfirmAlternativeService( |
102 const AlternativeService& alternative_service) override; | 102 const AlternativeService& alternative_service) override; |
103 void ClearAlternativeService(const HostPortPair& origin) override; | 103 void ClearAlternativeService(const HostPortPair& origin) override; |
104 const AlternativeServiceMap& alternative_service_map() const override; | 104 const AlternativeServiceMap& alternative_service_map() const override; |
105 base::Value* GetAlternativeServiceInfoAsValue() const override; | 105 scoped_ptr<base::Value> GetAlternativeServiceInfoAsValue() const override; |
106 void SetAlternativeServiceProbabilityThreshold(double threshold) override; | 106 void SetAlternativeServiceProbabilityThreshold(double threshold) override; |
107 const SettingsMap& GetSpdySettings( | 107 const SettingsMap& GetSpdySettings( |
108 const HostPortPair& host_port_pair) override; | 108 const HostPortPair& host_port_pair) override; |
109 bool SetSpdySetting(const HostPortPair& host_port_pair, | 109 bool SetSpdySetting(const HostPortPair& host_port_pair, |
110 SpdySettingsIds id, | 110 SpdySettingsIds id, |
111 SpdySettingsFlags flags, | 111 SpdySettingsFlags flags, |
112 uint32 value) override; | 112 uint32 value) override; |
113 void ClearSpdySettings(const HostPortPair& host_port_pair) override; | 113 void ClearSpdySettings(const HostPortPair& host_port_pair) override; |
114 void ClearAllSpdySettings() override; | 114 void ClearAllSpdySettings() override; |
115 const SpdySettingsMap& spdy_settings_map() const override; | 115 const SpdySettingsMap& spdy_settings_map() const override; |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 double alternative_service_probability_threshold_; | 173 double alternative_service_probability_threshold_; |
174 | 174 |
175 base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_; | 175 base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_; |
176 | 176 |
177 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl); | 177 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl); |
178 }; | 178 }; |
179 | 179 |
180 } // namespace net | 180 } // namespace net |
181 | 181 |
182 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ | 182 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ |
OLD | NEW |