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 "base/compiler_specific.h" | 5 #include "base/compiler_specific.h" |
6 #include "base/file_util.h" | 6 #include "base/files/file_util.h" |
7 #include "base/path_service.h" | 7 #include "base/path_service.h" |
8 #include "base/strings/string_util.h" | 8 #include "base/strings/string_util.h" |
9 #include "base/strings/stringprintf.h" | 9 #include "base/strings/stringprintf.h" |
10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
11 #include "net/base/net_errors.h" | 11 #include "net/base/net_errors.h" |
12 #include "net/base/net_log_unittest.h" | 12 #include "net/base/net_log_unittest.h" |
13 #include "net/proxy/proxy_info.h" | 13 #include "net/proxy/proxy_info.h" |
14 #include "net/proxy/proxy_resolver_v8.h" | 14 #include "net/proxy/proxy_resolver_v8.h" |
15 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
16 #include "url/gurl.h" | 16 #include "url/gurl.h" |
(...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
618 GURL("http://kittens/"), &proxy_info, | 618 GURL("http://kittens/"), &proxy_info, |
619 CompletionCallback(), NULL, BoundNetLog()); | 619 CompletionCallback(), NULL, BoundNetLog()); |
620 | 620 |
621 EXPECT_EQ(OK, result); | 621 EXPECT_EQ(OK, result); |
622 EXPECT_EQ(0u, bindings->errors.size()); | 622 EXPECT_EQ(0u, bindings->errors.size()); |
623 EXPECT_EQ("kittens:88", proxy_info.proxy_server().ToURI()); | 623 EXPECT_EQ("kittens:88", proxy_info.proxy_server().ToURI()); |
624 } | 624 } |
625 | 625 |
626 } // namespace | 626 } // namespace |
627 } // namespace net | 627 } // namespace net |
OLD | NEW |