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

Unified Diff: net/http/http_server_properties.h

Issue 187693003: Add a ClearAlternateProtocol method to HttpServerProperties (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « chrome/browser/net/http_server_properties_manager.cc ('k') | net/http/http_server_properties_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..ee788b43b5789aa6b6b7a9b365274f23a7f66ef3 100644
--- a/net/http/http_server_properties.h
+++ b/net/http/http_server_properties.h
@@ -114,6 +114,9 @@ class NET_EXPORT HttpServerProperties {
// Sets the Alternate-Protocol for |server| to be BROKEN.
virtual void SetBrokenAlternateProtocol(const HostPortPair& server) = 0;
+ // Clears the Alternate-Protocol for |server|.
+ virtual void ClearAlternateProtocol(const HostPortPair& server) = 0;
+
// Returns all Alternate-Protocol mappings.
virtual const AlternateProtocolMap& alternate_protocol_map() const = 0;
« no previous file with comments | « chrome/browser/net/http_server_properties_manager.cc ('k') | net/http/http_server_properties_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698