| 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/file_util.h" |
| 19 #include "base/format_macros.h" | 19 #include "base/format_macros.h" |
| 20 #include "base/memory/weak_ptr.h" | 20 #include "base/memory/weak_ptr.h" |
| 21 #include "base/message_loop.h" | 21 #include "base/message_loop.h" |
| 22 #include "base/path_service.h" | 22 #include "base/path_service.h" |
| 23 #include "base/process_util.h" | 23 #include "base/process_util.h" |
| 24 #include "base/string_number_conversions.h" | 24 #include "base/string_number_conversions.h" |
| 25 #include "base/string_piece.h" | 25 #include "base/string_piece.h" |
| 26 #include "base/string_split.h" | |
| 27 #include "base/string_util.h" | 26 #include "base/string_util.h" |
| 28 #include "base/stringprintf.h" | 27 #include "base/stringprintf.h" |
| 28 #include "base/strings/string_split.h" |
| 29 #include "base/utf_string_conversions.h" | 29 #include "base/utf_string_conversions.h" |
| 30 #include "net/base/capturing_net_log.h" | 30 #include "net/base/capturing_net_log.h" |
| 31 #include "net/base/cert_test_util.h" | 31 #include "net/base/cert_test_util.h" |
| 32 #include "net/base/ev_root_ca_metadata.h" | 32 #include "net/base/ev_root_ca_metadata.h" |
| 33 #include "net/base/load_flags.h" | 33 #include "net/base/load_flags.h" |
| 34 #include "net/base/load_timing_info.h" | 34 #include "net/base/load_timing_info.h" |
| 35 #include "net/base/load_timing_info_test_util.h" | 35 #include "net/base/load_timing_info_test_util.h" |
| 36 #include "net/base/mock_host_resolver.h" | 36 #include "net/base/mock_host_resolver.h" |
| 37 #include "net/base/net_errors.h" | 37 #include "net/base/net_errors.h" |
| 38 #include "net/base/net_log.h" | 38 #include "net/base/net_log.h" |
| (...skipping 5328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5367 | 5367 |
| 5368 EXPECT_FALSE(r.is_pending()); | 5368 EXPECT_FALSE(r.is_pending()); |
| 5369 EXPECT_EQ(1, d->response_started_count()); | 5369 EXPECT_EQ(1, d->response_started_count()); |
| 5370 EXPECT_FALSE(d->received_data_before_response()); | 5370 EXPECT_FALSE(d->received_data_before_response()); |
| 5371 EXPECT_EQ(d->bytes_received(), static_cast<int>(file_size)); | 5371 EXPECT_EQ(d->bytes_received(), static_cast<int>(file_size)); |
| 5372 } | 5372 } |
| 5373 } | 5373 } |
| 5374 #endif // !defined(DISABLE_FTP_SUPPORT) | 5374 #endif // !defined(DISABLE_FTP_SUPPORT) |
| 5375 | 5375 |
| 5376 } // namespace net | 5376 } // namespace net |
| OLD | NEW |