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

Unified Diff: net/http/http_server_properties.h

Issue 1159853005: HttpServerProperties - Don't persist if SetSupportsSpdy is called with (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@persist_SET_SERVER_NETWORK_STATS
Patch Set: Minor cleanup Created 5 years, 7 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 | « no previous file | 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 6b0708069cdbfab3d89600a401c2a8be27543eba..8daa9779f9ce0c5f86af166e01d1cad927b2f01b 100644
--- a/net/http/http_server_properties.h
+++ b/net/http/http_server_properties.h
@@ -226,6 +226,9 @@ class NET_EXPORT HttpServerProperties {
// request prioritization.
virtual bool SupportsRequestPriority(const HostPortPair& server) = 0;
+ // Returns the value set by SetSupportsSpdy(). If not set, returns false.
+ virtual bool GetSupportsSpdy(const HostPortPair& server) = 0;
+
// Add |server| into the persistent store. Should only be called from IO
// thread.
virtual void SetSupportsSpdy(const HostPortPair& server,
« no previous file with comments | « no previous file | net/http/http_server_properties_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698