| 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 |
| 11 | 11 |
| 12 #include <algorithm> | 12 #include <algorithm> |
| 13 #include <string> | 13 #include <string> |
| 14 | 14 |
| 15 #include "base/basictypes.h" | 15 #include "base/basictypes.h" |
| 16 #include "base/bind.h" | 16 #include "base/bind.h" |
| 17 #include "base/compiler_specific.h" | 17 #include "base/compiler_specific.h" |
| 18 #include "base/file_util.h" | 18 #include "base/files/file_util.h" |
| 19 #include "base/files/scoped_temp_dir.h" | 19 #include "base/files/scoped_temp_dir.h" |
| 20 #include "base/format_macros.h" | 20 #include "base/format_macros.h" |
| 21 #include "base/memory/weak_ptr.h" | 21 #include "base/memory/weak_ptr.h" |
| 22 #include "base/message_loop/message_loop.h" | 22 #include "base/message_loop/message_loop.h" |
| 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" |
| (...skipping 8012 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8041 | 8041 |
| 8042 EXPECT_FALSE(r->is_pending()); | 8042 EXPECT_FALSE(r->is_pending()); |
| 8043 EXPECT_EQ(1, d->response_started_count()); | 8043 EXPECT_EQ(1, d->response_started_count()); |
| 8044 EXPECT_FALSE(d->received_data_before_response()); | 8044 EXPECT_FALSE(d->received_data_before_response()); |
| 8045 EXPECT_EQ(d->bytes_received(), static_cast<int>(file_size)); | 8045 EXPECT_EQ(d->bytes_received(), static_cast<int>(file_size)); |
| 8046 } | 8046 } |
| 8047 } | 8047 } |
| 8048 #endif // !defined(DISABLE_FTP_SUPPORT) | 8048 #endif // !defined(DISABLE_FTP_SUPPORT) |
| 8049 | 8049 |
| 8050 } // namespace net | 8050 } // namespace net |
| OLD | NEW |