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 "build/build_config.h" | 5 #include "build/build_config.h" |
6 | 6 |
7 #if defined(OS_WIN) | 7 #if defined(OS_WIN) |
8 #include <windows.h> | 8 #include <windows.h> |
9 #include <shlobj.h> | 9 #include <shlobj.h> |
10 #endif | 10 #endif |
(...skipping 12 matching lines...) Expand all Loading... |
23 #include "base/message_loop/message_loop_proxy.h" | 23 #include "base/message_loop/message_loop_proxy.h" |
24 #include "base/path_service.h" | 24 #include "base/path_service.h" |
25 #include "base/run_loop.h" | 25 #include "base/run_loop.h" |
26 #include "base/strings/string_number_conversions.h" | 26 #include "base/strings/string_number_conversions.h" |
27 #include "base/strings/string_piece.h" | 27 #include "base/strings/string_piece.h" |
28 #include "base/strings/string_split.h" | 28 #include "base/strings/string_split.h" |
29 #include "base/strings/string_util.h" | 29 #include "base/strings/string_util.h" |
30 #include "base/strings/stringprintf.h" | 30 #include "base/strings/stringprintf.h" |
31 #include "base/strings/utf_string_conversions.h" | 31 #include "base/strings/utf_string_conversions.h" |
32 #include "net/base/capturing_net_log.h" | 32 #include "net/base/capturing_net_log.h" |
| 33 #include "net/base/filename_util.h" |
33 #include "net/base/load_flags.h" | 34 #include "net/base/load_flags.h" |
34 #include "net/base/load_timing_info.h" | 35 #include "net/base/load_timing_info.h" |
35 #include "net/base/load_timing_info_test_util.h" | 36 #include "net/base/load_timing_info_test_util.h" |
36 #include "net/base/net_errors.h" | 37 #include "net/base/net_errors.h" |
37 #include "net/base/net_log.h" | 38 #include "net/base/net_log.h" |
38 #include "net/base/net_log_unittest.h" | 39 #include "net/base/net_log_unittest.h" |
39 #include "net/base/net_module.h" | 40 #include "net/base/net_module.h" |
40 #include "net/base/net_util.h" | 41 #include "net/base/net_util.h" |
41 #include "net/base/request_priority.h" | 42 #include "net/base/request_priority.h" |
42 #include "net/base/test_data_directory.h" | 43 #include "net/base/test_data_directory.h" |
(...skipping 7920 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7963 | 7964 |
7964 EXPECT_FALSE(r.is_pending()); | 7965 EXPECT_FALSE(r.is_pending()); |
7965 EXPECT_EQ(1, d->response_started_count()); | 7966 EXPECT_EQ(1, d->response_started_count()); |
7966 EXPECT_FALSE(d->received_data_before_response()); | 7967 EXPECT_FALSE(d->received_data_before_response()); |
7967 EXPECT_EQ(d->bytes_received(), static_cast<int>(file_size)); | 7968 EXPECT_EQ(d->bytes_received(), static_cast<int>(file_size)); |
7968 } | 7969 } |
7969 } | 7970 } |
7970 #endif // !defined(DISABLE_FTP_SUPPORT) | 7971 #endif // !defined(DISABLE_FTP_SUPPORT) |
7971 | 7972 |
7972 } // namespace net | 7973 } // namespace net |
OLD | NEW |