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

Unified Diff: net/http/http_server_properties.h

Issue 2932953002: Persist broken and recently-broken alt-svcs to prefs in HttpServerPropertiesManager (Closed)
Patch Set: Added a DCHECK 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 ef9c83e95014150eec2c8a511b08b14dbe9a8f6f..45494e3260232488adae4aee78c32429dfc57568 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);
}
+ static bool FromString(const std::string& str,
+ AlternativeService* alternative_service);
Ryan Hamilton 2017/06/12 18:57:32 Is this being added in order to support the serial
wangyix1 2017/06/14 00:01:25 Yes.
+
std::string ToString() const;
NextProto protocol;

Powered by Google App Engine
This is Rietveld 408576698