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

Unified Diff: net/http/http_server_properties_manager.h

Issue 995013004: Add IsAlternativeServiceBroken(), remove is_broken. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More nits. 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 side-by-side diff with in-line comments
Download patch
Index: net/http/http_server_properties_manager.h
diff --git a/net/http/http_server_properties_manager.h b/net/http/http_server_properties_manager.h
index b71671a5cccd975803f3c77982cd588d91441885..c22b9ecde1afebda91ae133fe9ff59abf9d1ebad 100644
--- a/net/http/http_server_properties_manager.h
+++ b/net/http/http_server_properties_manager.h
@@ -93,6 +93,8 @@ class NET_EXPORT HttpServerPropertiesManager : public HttpServerProperties {
AlternateProtocol alternate_protocol,
double alternate_probability) override;
void SetBrokenAlternateProtocol(const HostPortPair& server) override;
+ bool IsAlternativeServiceBroken(
+ const AlternativeService& alternative_service) override;
bool WasAlternateProtocolRecentlyBroken(const HostPortPair& server) override;
void ConfirmAlternateProtocol(const HostPortPair& server) override;
void ClearAlternateProtocol(const HostPortPair& server) override;
@@ -195,6 +197,7 @@ class NET_EXPORT HttpServerPropertiesManager : public HttpServerProperties {
void SaveSpdySettingsToServerPrefs(const SettingsMap* spdy_settings_map,
base::DictionaryValue* server_pref_dict);
void SaveAlternateProtocolToServerPrefs(
+ const HostPortPair& origin,
const AlternateProtocolInfo* port_alternate_protocol,
base::DictionaryValue* server_pref_dict);
void SaveNetworkStatsToServerPrefs(

Powered by Google App Engine
This is Rietveld 408576698