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

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: 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 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 <string> 10 #include <string>
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 FRIEND_TEST_ALL_PREFIXES(HttpServerPropertiesManagerTest, 247 FRIEND_TEST_ALL_PREFIXES(HttpServerPropertiesManagerTest,
248 AddToAlternativeServiceMap); 248 AddToAlternativeServiceMap);
249 FRIEND_TEST_ALL_PREFIXES(HttpServerPropertiesManagerTest, 249 FRIEND_TEST_ALL_PREFIXES(HttpServerPropertiesManagerTest,
250 DoNotLoadExpiredAlternativeService); 250 DoNotLoadExpiredAlternativeService);
251 void OnHttpServerPropertiesChanged(); 251 void OnHttpServerPropertiesChanged();
252 252
253 bool AddServersData(const base::DictionaryValue& server_dict, 253 bool AddServersData(const base::DictionaryValue& server_dict,
254 ServerList* spdy_servers, 254 ServerList* spdy_servers,
255 SpdySettingsMap* spdy_settings_map, 255 SpdySettingsMap* spdy_settings_map,
256 AlternativeServiceMap* alternative_service_map, 256 AlternativeServiceMap* alternative_service_map,
257 ServerNetworkStatsMap* network_stats_map); 257 ServerNetworkStatsMap* network_stats_map,
258 int version);
258 void AddToSpdySettingsMap(const url::SchemeHostPort& server, 259 void AddToSpdySettingsMap(const url::SchemeHostPort& server,
259 const base::DictionaryValue& server_dict, 260 const base::DictionaryValue& server_dict,
260 SpdySettingsMap* spdy_settings_map); 261 SpdySettingsMap* spdy_settings_map);
261 bool ParseAlternativeServiceDict( 262 bool ParseAlternativeServiceDict(
262 const base::DictionaryValue& alternative_service_dict, 263 const base::DictionaryValue& alternative_service_dict,
263 const std::string& server_str, 264 const std::string& server_str,
264 AlternativeServiceInfo* alternative_service_info); 265 AlternativeServiceInfo* alternative_service_info);
265 bool AddToAlternativeServiceMap( 266 bool AddToAlternativeServiceMap(
266 const url::SchemeHostPort& server, 267 const url::SchemeHostPort& server,
267 const base::DictionaryValue& server_dict, 268 const base::DictionaryValue& server_dict,
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 // Used to get |weak_ptr_| to self on the network thread. 322 // Used to get |weak_ptr_| to self on the network thread.
322 scoped_ptr<base::WeakPtrFactory<HttpServerPropertiesManager> > 323 scoped_ptr<base::WeakPtrFactory<HttpServerPropertiesManager> >
323 network_weak_ptr_factory_; 324 network_weak_ptr_factory_;
324 325
325 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesManager); 326 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesManager);
326 }; 327 };
327 328
328 } // namespace net 329 } // namespace net
329 330
330 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_ 331 #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') | net/http/http_server_properties_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698