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

Unified Diff: net/http/http_server_properties.h

Issue 182383016: HttpServerProperties - Implement MRU for AlternateProtocolMap. Persist (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Increment the iterator before calling Erase Created 6 years, 10 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 e10d2de96e2ec70332c67b0fd53af20e1c0de45d..51d5bd7bc0f1bb6671b19a823a42ab34334e1a51 100644
--- a/net/http/http_server_properties.h
+++ b/net/http/http_server_properties.h
@@ -115,7 +115,7 @@ class NET_EXPORT HttpServerProperties {
virtual void SetBrokenAlternateProtocol(const HostPortPair& server) = 0;
// Returns all Alternate-Protocol mappings.
- virtual const AlternateProtocolMap& alternate_protocol_map() const = 0;
+ virtual AlternateProtocolMap GetAlternateProtocolMap() const = 0;
Ryan Hamilton 2014/03/05 00:19:20 I'm sure that this is somehow related to the chang
ramant (doing other things) 2014/03/05 15:11:11 Undid this change. Changed code to return MRUCache
// Gets a reference to the SettingsMap stored for a host.
// If no settings are stored, returns an empty SettingsMap.

Powered by Google App Engine
This is Rietveld 408576698