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