Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(321)

Side by Side Diff: net/url_request/url_request_unittest.cc

Issue 220253002: Add net/base/filename_util.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « net/url_request/url_request_file_job.cc ('k') | ui/base/dragdrop/os_exchange_data_provider_aurax11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698