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

Unified Diff: net/http/http_server_properties.h

Issue 1572753003: QUIC - Allow cronet apps to specify how many server configs are to be (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comments in Patch set 4 Created 4 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 | « net/http/http_network_session.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 9db9fc82888df8e45363acf79213aa4a01931e69..594c9c21418d8bb8df12778e53b6749521b6c8da 100644
--- a/net/http/http_server_properties.h
+++ b/net/http/http_server_properties.h
@@ -380,6 +380,13 @@ class NET_EXPORT HttpServerProperties {
// Returns all persistent QuicServerInfo objects.
virtual const QuicServerInfoMap& quic_server_info_map() const = 0;
+ // Returns the number of server configs (QuicServerInfo objects) persisted.
+ virtual size_t max_server_configs_stored_in_properties() const = 0;
+
+ // Sets the number of server configs (QuicServerInfo objects) to be persisted.
+ virtual void SetMaxServerConfigsStoredInProperties(
+ size_t max_server_configs_stored_in_properties) = 0;
+
private:
DISALLOW_COPY_AND_ASSIGN(HttpServerProperties);
};
« no previous file with comments | « net/http/http_network_session.cc ('k') | net/http/http_server_properties_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698