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

Unified Diff: net/http/http_server_properties_manager.h

Issue 890093002: Clean up HttpServerPropertiesManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 11 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_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_server_properties_manager.h
diff --git a/net/http/http_server_properties_manager.h b/net/http/http_server_properties_manager.h
index 00e5a13e63f303ace7f2514c0b15c0ee1dbd581f..56679cb96e2b18f865826eca68f1466e22088828 100644
--- a/net/http/http_server_properties_manager.h
+++ b/net/http/http_server_properties_manager.h
@@ -181,6 +181,30 @@ class NET_EXPORT HttpServerPropertiesManager : public HttpServerProperties {
private:
void OnHttpServerPropertiesChanged();
+ void AddToSpdySettingsMap(const HostPortPair& server,
+ const base::DictionaryValue& server_dict,
+ SpdySettingsMap* spdy_settings_map);
+ bool AddToAlternateProtocolMap(const HostPortPair& server,
+ const base::DictionaryValue& server_dict,
+ AlternateProtocolMap* alternate_protocol_map);
+ bool AddToSupportsQuicMap(const HostPortPair& server,
+ const base::DictionaryValue& server_dict,
+ SupportsQuicMap* supports_quic_map);
+ bool AddToNetworkStatsMap(const HostPortPair& server,
+ const base::DictionaryValue& server_dict,
+ ServerNetworkStatsMap* network_stats_map);
+
+ void SaveSpdySettingsToServerPrefs(const SettingsMap* spdy_settings_map,
+ base::DictionaryValue* server_pref_dict);
+ void SaveAlternateProtocolToServerPrefs(
+ const AlternateProtocolInfo* port_alternate_protocol,
+ base::DictionaryValue* server_pref_dict);
+ void SaveSupportsQuicToServerPrefs(const SupportsQuic* supports_quic,
+ base::DictionaryValue* server_pref_dict);
+ void SaveNetworkStatsToServerPrefs(
+ const ServerNetworkStats* server_network_stats,
+ base::DictionaryValue* server_pref_dict);
+
// -----------
// Pref thread
// -----------
« no previous file with comments | « no previous file | net/http/http_server_properties_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698