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

Unified Diff: net/http/http_server_properties_impl.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_server_properties.h ('k') | net/http/http_server_properties_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_server_properties_impl.h
diff --git a/net/http/http_server_properties_impl.h b/net/http/http_server_properties_impl.h
index a169362a81fb5b3d5a34001f3465305a8bcf9ef0..b8678bed747dee9e178573d08fe1ac42391194c6 100644
--- a/net/http/http_server_properties_impl.h
+++ b/net/http/http_server_properties_impl.h
@@ -134,6 +134,9 @@ class NET_EXPORT HttpServerPropertiesImpl
const std::string& server_info) override;
const std::string* GetQuicServerInfo(const QuicServerId& server_id) override;
const QuicServerInfoMap& quic_server_info_map() const override;
+ size_t max_server_configs_stored_in_properties() const override;
+ void SetMaxServerConfigsStoredInProperties(
+ size_t max_server_configs_stored_in_properties) override;
private:
friend class HttpServerPropertiesImplPeer;
@@ -187,6 +190,7 @@ class NET_EXPORT HttpServerPropertiesImpl
double alternative_service_probability_threshold_;
QuicServerInfoMap quic_server_info_map_;
+ size_t max_server_configs_stored_in_properties_;
base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_;
« no previous file with comments | « net/http/http_server_properties.h ('k') | net/http/http_server_properties_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698