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

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: reabse TOT 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
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..3b57909b4d2e31af525711bb269cef515b4e574c 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;
+ int max_server_configs_stored_in_properties() const override;
+ void set_max_server_configs_stored_in_properties(
+ int 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_;
+ int max_server_configs_stored_in_properties_;
mef 2016/01/15 16:12:32 do we want int or do we want size_t?
ramant (doing other things) 2016/01/15 18:57:01 Used size_t everywhere.
base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_;

Powered by Google App Engine
This is Rietveld 408576698