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

Unified Diff: net/http/http_server_properties.h

Issue 2932953002: Persist broken and recently-broken alt-svcs to prefs in HttpServerPropertiesManager (Closed)
Patch Set: Removed BrokenAlternativeServices::Clear() so it can be added in a separate CL Created 3 years, 6 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.h
diff --git a/net/http/http_server_properties.h b/net/http/http_server_properties.h
index 172480a00d251965f146e812726e590bcdba85b3..cb9d605dc82e0495a2207ba469d22a789996c99c 100644
--- a/net/http/http_server_properties.h
+++ b/net/http/http_server_properties.h
@@ -103,6 +103,9 @@ struct NET_EXPORT AlternativeService {
std::tie(other.protocol, other.host, other.port);
}
Zhongyi Shi 2017/06/16 04:17:09 Is this method meant to parse the alternative serv
wangyix1 2017/06/16 18:41:15 Yes, that's what it does. Done.
+ static bool FromString(const std::string& str,
+ AlternativeService* alternative_service);
+
std::string ToString() const;
NextProto protocol;

Powered by Google App Engine
This is Rietveld 408576698