OLD | NEW |
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 #include "net/http/http_server_properties_impl.h" | 5 #include "net/http/http_server_properties_impl.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/containers/hash_tables.h" | |
12 #include "base/logging.h" | 11 #include "base/logging.h" |
13 #include "base/values.h" | 12 #include "base/values.h" |
14 #include "net/base/host_port_pair.h" | 13 #include "net/base/host_port_pair.h" |
15 #include "net/base/ip_address.h" | 14 #include "net/base/ip_address.h" |
16 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
17 | 16 |
18 namespace base { | 17 namespace base { |
19 class ListValue; | 18 class ListValue; |
20 } | 19 } |
21 | 20 |
(...skipping 1371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1393 EXPECT_EQ(quic_server_info1, *(impl_.GetQuicServerInfo(quic_server_id))); | 1392 EXPECT_EQ(quic_server_info1, *(impl_.GetQuicServerInfo(quic_server_id))); |
1394 | 1393 |
1395 impl_.Clear(); | 1394 impl_.Clear(); |
1396 EXPECT_EQ(0u, impl_.quic_server_info_map().size()); | 1395 EXPECT_EQ(0u, impl_.quic_server_info_map().size()); |
1397 EXPECT_EQ(nullptr, impl_.GetQuicServerInfo(quic_server_id)); | 1396 EXPECT_EQ(nullptr, impl_.GetQuicServerInfo(quic_server_id)); |
1398 } | 1397 } |
1399 | 1398 |
1400 } // namespace | 1399 } // namespace |
1401 | 1400 |
1402 } // namespace net | 1401 } // namespace net |
OLD | NEW |