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

Side by Side Diff: net/http/http_server_properties_impl.h

Issue 1878273004: SHP 3: Change ServerNetworkStatsMap to use SchemeHostPort as the key. No change to Pref data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git sync Created 4 years, 8 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ 5 #ifndef NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_
6 #define NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ 6 #define NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 const url::SchemeHostPort& server) override; 113 const url::SchemeHostPort& server) override;
114 bool SetSpdySetting(const url::SchemeHostPort& server, 114 bool SetSpdySetting(const url::SchemeHostPort& server,
115 SpdySettingsIds id, 115 SpdySettingsIds id,
116 SpdySettingsFlags flags, 116 SpdySettingsFlags flags,
117 uint32_t value) override; 117 uint32_t value) override;
118 void ClearSpdySettings(const url::SchemeHostPort& server) override; 118 void ClearSpdySettings(const url::SchemeHostPort& server) override;
119 void ClearAllSpdySettings() override; 119 void ClearAllSpdySettings() override;
120 const SpdySettingsMap& spdy_settings_map() const override; 120 const SpdySettingsMap& spdy_settings_map() const override;
121 bool GetSupportsQuic(IPAddress* last_address) const override; 121 bool GetSupportsQuic(IPAddress* last_address) const override;
122 void SetSupportsQuic(bool used_quic, const IPAddress& address) override; 122 void SetSupportsQuic(bool used_quic, const IPAddress& address) override;
123 void SetServerNetworkStats(const HostPortPair& host_port_pair, 123 void SetServerNetworkStats(const url::SchemeHostPort& server,
124 ServerNetworkStats stats) override; 124 ServerNetworkStats stats) override;
125 const ServerNetworkStats* GetServerNetworkStats( 125 const ServerNetworkStats* GetServerNetworkStats(
126 const HostPortPair& host_port_pair) override; 126 const url::SchemeHostPort& server) override;
127 const ServerNetworkStatsMap& server_network_stats_map() const override; 127 const ServerNetworkStatsMap& server_network_stats_map() const override;
128 bool SetQuicServerInfo(const QuicServerId& server_id, 128 bool SetQuicServerInfo(const QuicServerId& server_id,
129 const std::string& server_info) override; 129 const std::string& server_info) override;
130 const std::string* GetQuicServerInfo(const QuicServerId& server_id) override; 130 const std::string* GetQuicServerInfo(const QuicServerId& server_id) override;
131 const QuicServerInfoMap& quic_server_info_map() const override; 131 const QuicServerInfoMap& quic_server_info_map() const override;
132 size_t max_server_configs_stored_in_properties() const override; 132 size_t max_server_configs_stored_in_properties() const override;
133 void SetMaxServerConfigsStoredInProperties( 133 void SetMaxServerConfigsStoredInProperties(
134 size_t max_server_configs_stored_in_properties) override; 134 size_t max_server_configs_stored_in_properties) override;
135 135
136 private: 136 private:
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 size_t max_server_configs_stored_in_properties_; 188 size_t max_server_configs_stored_in_properties_;
189 189
190 base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_; 190 base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_;
191 191
192 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl); 192 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl);
193 }; 193 };
194 194
195 } // namespace net 195 } // namespace net
196 196
197 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ 197 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_
OLDNEW
« 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