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

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

Issue 1892813003: SHP 5: Adding a new version for disk data, migrating disk data to use scheme/host/port representati… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@SHP_4
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 | « no previous file | net/http/http_server_properties_manager.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_MANAGER_H_ 5 #ifndef NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_
6 #define NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_ 6 #define NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 FRIEND_TEST_ALL_PREFIXES(HttpServerPropertiesManagerTest, 248 FRIEND_TEST_ALL_PREFIXES(HttpServerPropertiesManagerTest,
249 AddToAlternativeServiceMap); 249 AddToAlternativeServiceMap);
250 FRIEND_TEST_ALL_PREFIXES(HttpServerPropertiesManagerTest, 250 FRIEND_TEST_ALL_PREFIXES(HttpServerPropertiesManagerTest,
251 DoNotLoadExpiredAlternativeService); 251 DoNotLoadExpiredAlternativeService);
252 void OnHttpServerPropertiesChanged(); 252 void OnHttpServerPropertiesChanged();
253 253
254 bool AddServersData(const base::DictionaryValue& server_dict, 254 bool AddServersData(const base::DictionaryValue& server_dict,
255 ServerList* spdy_servers, 255 ServerList* spdy_servers,
256 SpdySettingsMap* spdy_settings_map, 256 SpdySettingsMap* spdy_settings_map,
257 AlternativeServiceMap* alternative_service_map, 257 AlternativeServiceMap* alternative_service_map,
258 ServerNetworkStatsMap* network_stats_map); 258 ServerNetworkStatsMap* network_stats_map,
259 int version);
259 void AddToSpdySettingsMap(const url::SchemeHostPort& server, 260 void AddToSpdySettingsMap(const url::SchemeHostPort& server,
260 const base::DictionaryValue& server_dict, 261 const base::DictionaryValue& server_dict,
261 SpdySettingsMap* spdy_settings_map); 262 SpdySettingsMap* spdy_settings_map);
262 bool ParseAlternativeServiceDict( 263 bool ParseAlternativeServiceDict(
263 const base::DictionaryValue& alternative_service_dict, 264 const base::DictionaryValue& alternative_service_dict,
264 const std::string& server_str, 265 const std::string& server_str,
265 AlternativeServiceInfo* alternative_service_info); 266 AlternativeServiceInfo* alternative_service_info);
266 bool AddToAlternativeServiceMap( 267 bool AddToAlternativeServiceMap(
267 const url::SchemeHostPort& server, 268 const url::SchemeHostPort& server,
268 const base::DictionaryValue& server_dict, 269 const base::DictionaryValue& server_dict,
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 // Used to get |weak_ptr_| to self on the network thread. 323 // Used to get |weak_ptr_| to self on the network thread.
323 std::unique_ptr<base::WeakPtrFactory<HttpServerPropertiesManager>> 324 std::unique_ptr<base::WeakPtrFactory<HttpServerPropertiesManager>>
324 network_weak_ptr_factory_; 325 network_weak_ptr_factory_;
325 326
326 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesManager); 327 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesManager);
327 }; 328 };
328 329
329 } // namespace net 330 } // namespace net
330 331
331 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_ 332 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | net/http/http_server_properties_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698