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

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: remove commented line 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
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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 bool IsAlternativeServiceBroken( 102 bool IsAlternativeServiceBroken(
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 scoped_ptr<base::Value> GetAlternativeServiceInfoAsValue() const override; 110 scoped_ptr<base::Value> GetAlternativeServiceInfoAsValue() const override;
111 const SettingsMap& GetSpdySettings( 111 const SettingsMap& GetSpdySettings(
112 const HostPortPair& host_port_pair) override; 112 const url::SchemeHostPort& server) override;
113 bool SetSpdySetting(const HostPortPair& host_port_pair, 113 bool SetSpdySetting(const url::SchemeHostPort& server,
114 SpdySettingsIds id, 114 SpdySettingsIds id,
115 SpdySettingsFlags flags, 115 SpdySettingsFlags flags,
116 uint32_t value) override; 116 uint32_t value) override;
117 void ClearSpdySettings(const HostPortPair& host_port_pair) override; 117 void ClearSpdySettings(const url::SchemeHostPort& server) override;
118 void ClearAllSpdySettings() override; 118 void ClearAllSpdySettings() override;
119 const SpdySettingsMap& spdy_settings_map() const override; 119 const SpdySettingsMap& spdy_settings_map() const override;
120 bool GetSupportsQuic(IPAddress* last_address) const override; 120 bool GetSupportsQuic(IPAddress* last_address) const override;
121 void SetSupportsQuic(bool used_quic, const IPAddress& address) override; 121 void SetSupportsQuic(bool used_quic, const IPAddress& address) override;
122 void SetServerNetworkStats(const HostPortPair& host_port_pair, 122 void SetServerNetworkStats(const HostPortPair& host_port_pair,
123 ServerNetworkStats stats) override; 123 ServerNetworkStats stats) override;
124 const ServerNetworkStats* GetServerNetworkStats( 124 const ServerNetworkStats* GetServerNetworkStats(
125 const HostPortPair& host_port_pair) override; 125 const HostPortPair& host_port_pair) override;
126 const ServerNetworkStatsMap& server_network_stats_map() const override; 126 const ServerNetworkStatsMap& server_network_stats_map() const override;
127 bool SetQuicServerInfo(const QuicServerId& server_id, 127 bool SetQuicServerInfo(const QuicServerId& server_id,
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 size_t max_server_configs_stored_in_properties_; 187 size_t max_server_configs_stored_in_properties_;
188 188
189 base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_; 189 base::WeakPtrFactory<HttpServerPropertiesImpl> weak_ptr_factory_;
190 190
191 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl); 191 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesImpl);
192 }; 192 };
193 193
194 } // namespace net 194 } // namespace net
195 195
196 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_ 196 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698