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

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: load all server configs from disk 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..3984ca9ba45fda38c282ea02263c92146c9faa29 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 number_of_server_configs_stored_in_properties() const override;
+ void set_number_of_server_configs_stored_in_properties(
+ int number_of_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 number_of_server_configs_stored_in_properties_;
base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_;

Powered by Google App Engine
This is Rietveld 408576698