Home
last modified time | relevance | path

Searched refs:server_info_map (Results 1 – 6 of 6) sorted by relevance

/external/cronet/net/http/
Dhttp_server_properties_manager.h43 std::unique_ptr<HttpServerProperties::ServerInfoMap> server_info_map,
87 std::unique_ptr<HttpServerProperties::ServerInfoMap>* server_info_map,
112 const HttpServerProperties::ServerInfoMap& server_info_map,
136 HttpServerProperties::ServerInfoMap* server_info_map,
Dhttp_server_properties_manager.cc218 std::unique_ptr<HttpServerProperties::ServerInfoMap>* server_info_map, in ReadPrefs() argument
267 *server_info_map = std::make_unique<HttpServerProperties::ServerInfoMap>(); in ReadPrefs()
282 AddServerData(server_dict_value.GetDict(), server_info_map->get(), in ReadPrefs()
320 (*server_info_map)->size()); in ReadPrefs()
411 HttpServerProperties::ServerInfoMap* server_info_map, in AddServerData() argument
438 server_info_map->Put(HttpServerProperties::ServerInfoMapKey( in AddServerData()
691 const HttpServerProperties::ServerInfoMap& server_info_map, in WriteToPrefs() argument
713 for (const auto& [key, server_info] : server_info_map) { in WriteToPrefs()
945 std::unique_ptr<HttpServerProperties::ServerInfoMap> server_info_map; in OnHttpServerPropertiesLoaded() local
952 ReadPrefs(&server_info_map, &last_local_address_when_quic_worked, in OnHttpServerPropertiesLoaded()
[all …]
Dhttp_server_properties.h447 std::unique_ptr<ServerInfoMap> server_info_map) { in OnServerInfoLoadedForTesting() argument
448 OnServerInfoLoaded(std::move(server_info_map)); in OnServerInfoLoadedForTesting()
587 void OnPrefsLoaded(std::unique_ptr<ServerInfoMap> server_info_map,
598 void OnServerInfoLoaded(std::unique_ptr<ServerInfoMap> server_info_map);
Dhttp_server_properties.cc1081 std::unique_ptr<ServerInfoMap> server_info_map, in OnPrefsLoaded() argument
1094 if (server_info_map) { in OnPrefsLoaded()
1095 OnServerInfoLoaded(std::move(server_info_map)); in OnPrefsLoaded()
1117 std::unique_ptr<ServerInfoMap> server_info_map) { in OnServerInfoLoaded() argument
1123 for (auto server_info = server_info_map->begin(); in OnServerInfoLoaded()
1124 server_info != server_info_map->end(); ++server_info) { in OnServerInfoLoaded()
1132 server_info_map_.Swap(*server_info_map); in OnServerInfoLoaded()
1135 for (auto& [key, server_info] : base::Reversed(*server_info_map)) { in OnServerInfoLoaded()
Dhttp_server_properties_unittest.cc659 std::unique_ptr<HttpServerProperties::ServerInfoMap> server_info_map = in TEST_F() local
667 server_info_map->GetOrPut(CreateSimpleKey(test_server2)) in TEST_F()
679 server_info_map->GetOrPut(CreateSimpleKey(test_server3)) in TEST_F()
684 impl_.OnServerInfoLoadedForTesting(std::move(server_info_map)); in TEST_F()
912 std::unique_ptr<HttpServerProperties::ServerInfoMap> server_info_map = in TEST_F() local
914 impl_.OnServerInfoLoadedForTesting(std::move(server_info_map)); in TEST_F()
935 std::unique_ptr<HttpServerProperties::ServerInfoMap> server_info_map = in TEST_F() local
937 server_info_map->GetOrPut(CreateSimpleKey(server)) in TEST_F()
943 impl_.OnServerInfoLoadedForTesting(std::move(server_info_map)); in TEST_F()
973 std::unique_ptr<HttpServerProperties::ServerInfoMap> server_info_map = in TEST_F() local
[all …]
Dhttp_server_properties_manager_unittest.cc140 const HttpServerProperties::ServerInfoMap& server_info_map) { in ServerInfoMapToDict() argument
150 server_info_map, in ServerInfoMapToDict()
163 server_info_map, HttpServerPropertiesManager::GetCannonicalSuffix(), in ServerInfoMapToDict()
185 server_info_map, in DictToServerInfoMap()
195 out = std::move(server_info_map); in DictToServerInfoMap()
2120 HttpServerProperties::ServerInfoMap server_info_map; in TEST_F() local
2130 server_info_map.Put(server_info_key, server_info); in TEST_F()
2140 server_info_map.Put(server_info_key2, server_info); in TEST_F()
2143 saved_value = ServerInfoMapToDict(server_info_map); in TEST_F()