OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/proxy/proxy_resolver_v8_tracing.h" | 5 #include "net/proxy/proxy_resolver_v8_tracing.h" |
6 | 6 |
7 #include "base/file_util.h" | 7 #include "base/file_util.h" |
8 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
9 #include "base/path_service.h" | 9 #include "base/path_service.h" |
10 #include "base/stl_util.h" | 10 #include "base/stl_util.h" |
11 #include "base/string_util.h" | 11 #include "base/string_util.h" |
12 #include "base/stringprintf.h" | 12 #include "base/stringprintf.h" |
13 #include "base/synchronization/waitable_event.h" | 13 #include "base/synchronization/waitable_event.h" |
14 #include "base/threading/platform_thread.h" | 14 #include "base/threading/platform_thread.h" |
15 #include "base/utf_string_conversions.h" | 15 #include "base/utf_string_conversions.h" |
16 #include "base/values.h" | 16 #include "base/values.h" |
17 #include "googleurl/src/gurl.h" | 17 #include "googleurl/src/gurl.h" |
18 #include "net/base/host_cache.h" | 18 #include "net/base/host_cache.h" |
19 #include "net/base/mock_host_resolver.h" | |
20 #include "net/base/net_errors.h" | 19 #include "net/base/net_errors.h" |
21 #include "net/base/net_log.h" | 20 #include "net/base/net_log.h" |
22 #include "net/base/net_log_unittest.h" | 21 #include "net/base/net_log_unittest.h" |
23 #include "net/base/test_completion_callback.h" | 22 #include "net/base/test_completion_callback.h" |
| 23 #include "net/dns/mock_host_resolver.h" |
24 #include "net/proxy/proxy_info.h" | 24 #include "net/proxy/proxy_info.h" |
25 #include "net/proxy/proxy_resolver_error_observer.h" | 25 #include "net/proxy/proxy_resolver_error_observer.h" |
26 #include "testing/gtest/include/gtest/gtest.h" | 26 #include "testing/gtest/include/gtest/gtest.h" |
27 | 27 |
28 namespace net { | 28 namespace net { |
29 | 29 |
30 namespace { | 30 namespace { |
31 | 31 |
32 class ProxyResolverV8TracingTest : public testing::Test { | 32 class ProxyResolverV8TracingTest : public testing::Test { |
33 public: | 33 public: |
(...skipping 1053 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1087 proxy_uri.substr(0, proxy_uri.find(':') + 1)); | 1087 proxy_uri.substr(0, proxy_uri.find(':') + 1)); |
1088 } else { | 1088 } else { |
1089 NOTREACHED(); | 1089 NOTREACHED(); |
1090 } | 1090 } |
1091 } | 1091 } |
1092 } | 1092 } |
1093 | 1093 |
1094 } // namespace | 1094 } // namespace |
1095 | 1095 |
1096 } // namespace net | 1096 } // namespace net |
OLD | NEW |