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

Unified Diff: base/test/test_file_util_win.cc

Issue 9585001: Cleanup: Remove deprecated version of file_util::AppendToPath(). (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/file_util_unittest.cc ('k') | chrome/browser/printing/printing_layout_uitest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/test_file_util_win.cc
===================================================================
--- base/test/test_file_util_win.cc (revision 125906)
+++ base/test/test_file_util_win.cc (working copy)
@@ -176,11 +176,10 @@
std::vector<std::wstring> files_copied;
- std::wstring src(source_dir.value());
- file_util::AppendToPath(&src, L"*");
+ FilePath src(source_dir.AppendASCII("*"));
WIN32_FIND_DATA fd;
- HANDLE fh = FindFirstFile(src.c_str(), &fd);
+ HANDLE fh = FindFirstFile(src.value().c_str(), &fd);
if (fh == INVALID_HANDLE_VALUE)
return false;
« no previous file with comments | « base/file_util_unittest.cc ('k') | chrome/browser/printing/printing_layout_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698