Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Side by Side Diff: net/http/http_server_properties_impl.h

Issue 1003923002: Revert of Add IsAlternativeServiceBroken(), remove is_broken. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/http/http_server_properties.cc ('k') | net/http/http_server_properties_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 void SetHTTP11Required(const HostPortPair& server) override; 92 void SetHTTP11Required(const HostPortPair& server) override;
93 void MaybeForceHTTP11(const HostPortPair& server, 93 void MaybeForceHTTP11(const HostPortPair& server,
94 SSLConfig* ssl_config) override; 94 SSLConfig* ssl_config) override;
95 AlternateProtocolInfo GetAlternateProtocol( 95 AlternateProtocolInfo GetAlternateProtocol(
96 const HostPortPair& server) override; 96 const HostPortPair& server) override;
97 void SetAlternateProtocol(const HostPortPair& server, 97 void SetAlternateProtocol(const HostPortPair& server,
98 uint16 alternate_port, 98 uint16 alternate_port,
99 AlternateProtocol alternate_protocol, 99 AlternateProtocol alternate_protocol,
100 double probability) override; 100 double probability) override;
101 void SetBrokenAlternateProtocol(const HostPortPair& server) override; 101 void SetBrokenAlternateProtocol(const HostPortPair& server) override;
102 bool IsAlternativeServiceBroken(
103 const AlternativeService& alternative_service) override;
104 bool WasAlternateProtocolRecentlyBroken(const HostPortPair& server) override; 102 bool WasAlternateProtocolRecentlyBroken(const HostPortPair& server) override;
105 void ConfirmAlternateProtocol(const HostPortPair& server) override; 103 void ConfirmAlternateProtocol(const HostPortPair& server) override;
106 void ClearAlternateProtocol(const HostPortPair& server) override; 104 void ClearAlternateProtocol(const HostPortPair& server) override;
107 const AlternateProtocolMap& alternate_protocol_map() const override; 105 const AlternateProtocolMap& alternate_protocol_map() const override;
108 void SetAlternateProtocolProbabilityThreshold(double threshold) override; 106 void SetAlternateProtocolProbabilityThreshold(double threshold) override;
109 const SettingsMap& GetSpdySettings( 107 const SettingsMap& GetSpdySettings(
110 const HostPortPair& host_port_pair) override; 108 const HostPortPair& host_port_pair) override;
111 bool SetSpdySetting(const HostPortPair& host_port_pair, 109 bool SetSpdySetting(const HostPortPair& host_port_pair,
112 SpdySettingsIds id, 110 SpdySettingsIds id,
113 SpdySettingsFlags flags, 111 SpdySettingsFlags flags,
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 double alternate_protocol_probability_threshold_; 171 double alternate_protocol_probability_threshold_;
174 172
175 base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_; 173 base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_;
176 174
177 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl); 175 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl);
178 }; 176 };
179 177
180 } // namespace net 178 } // namespace net
181 179
182 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ 180 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_
OLDNEW
« no previous file with comments | « net/http/http_server_properties.cc ('k') | net/http/http_server_properties_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698