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

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

Issue 1866983006: SHP 2: Change SpdySettingsMap to use SchemeHostPort as the key. No change to Pref data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@SHP_1
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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 const AlternativeService& alternative_service) const override; 103 const AlternativeService& alternative_service) const override;
104 bool WasAlternativeServiceRecentlyBroken( 104 bool WasAlternativeServiceRecentlyBroken(
105 const AlternativeService& alternative_service) override; 105 const AlternativeService& alternative_service) override;
106 void ConfirmAlternativeService( 106 void ConfirmAlternativeService(
107 const AlternativeService& alternative_service) override; 107 const AlternativeService& alternative_service) override;
108 void ClearAlternativeServices(const HostPortPair& origin) override; 108 void ClearAlternativeServices(const HostPortPair& origin) override;
109 const AlternativeServiceMap& alternative_service_map() const override; 109 const AlternativeServiceMap& alternative_service_map() const override;
110 std::unique_ptr<base::Value> GetAlternativeServiceInfoAsValue() 110 std::unique_ptr<base::Value> GetAlternativeServiceInfoAsValue()
111 const override; 111 const override;
112 const SettingsMap& GetSpdySettings( 112 const SettingsMap& GetSpdySettings(
113 const HostPortPair& host_port_pair) override; 113 const url::SchemeHostPort& server) override;
114 bool SetSpdySetting(const HostPortPair& host_port_pair, 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 HostPortPair& host_port_pair) 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 HostPortPair& host_port_pair,
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 HostPortPair& host_port_pair) 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,
(...skipping 59 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