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

Unified Diff: net/http/http_server_properties.h

Issue 2949513005: Update param types of HttpServerPropertiesImpl setters and getters. Fix MRU order when loading (Closed)
Patch Set: Updated HttpServerPropertiesManagerTest.SingleUpdateForTwoSpdyServerPrefChanges to reflect new load… 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..c521148b8cc73f5df1dffd5ecf7054e68e01cbf9 100644
--- a/net/http/http_server_properties.h
+++ b/net/http/http_server_properties.h
@@ -200,6 +200,9 @@ struct NET_EXPORT ServerNetworkStats {
typedef std::vector<AlternativeService> AlternativeServiceVector;
typedef std::vector<AlternativeServiceInfo> AlternativeServiceInfoVector;
+// Flattened representation of servers (scheme, host, port) that either support
+// or not support SPDY protocol.
+typedef base::MRUCache<std::string, bool> SpdyServersMap;
typedef base::MRUCache<url::SchemeHostPort, AlternativeServiceInfoVector>
AlternativeServiceMap;
// Pairs of broken alternative services and when their brokenness expires.
« no previous file with comments | « no previous file | net/http/http_server_properties_impl.h » ('j') | net/http/http_server_properties_manager_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698