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

Unified Diff: chrome/browser/nacl_host/test/mock_nacl_gdb.cc

Issue 184563006: Move WriteFile and WriteFileDescriptor from file_util to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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
Index: chrome/browser/nacl_host/test/mock_nacl_gdb.cc
diff --git a/chrome/browser/nacl_host/test/mock_nacl_gdb.cc b/chrome/browser/nacl_host/test/mock_nacl_gdb.cc
index 097f1f9426a3c3823ce5a6f9e1b046f59882d6ef..36ff08c7e02479393be5f83b842d720ee6283333 100644
--- a/chrome/browser/nacl_host/test/mock_nacl_gdb.cc
+++ b/chrome/browser/nacl_host/test/mock_nacl_gdb.cc
@@ -50,15 +50,15 @@ int main(int argc, char** argv) {
i += 2;
CHECK_LE(i, argc);
std::string nacl_gdb_script(argv[i - 1]);
- file_util::WriteFile(base::FilePath::FromUTF8Unsafe(nacl_gdb_script),
- kPass, strlen(kPass));
+ base::WriteFile(base::FilePath::FromUTF8Unsafe(nacl_gdb_script),
+ kPass, strlen(kPass));
continue;
}
// Unknown argument.
NOTREACHED() << "Invalid argument " << argv[i];
}
CHECK_EQ(i, argc);
- file_util::WriteFile(base::FilePath::FromUTF8Unsafe(mock_nacl_gdb_file),
- kPass, strlen(kPass));
+ base::WriteFile(base::FilePath::FromUTF8Unsafe(mock_nacl_gdb_file),
+ kPass, strlen(kPass));
return 0;
}
« no previous file with comments | « chrome/browser/media_galleries/media_folder_finder_unittest.cc ('k') | chrome/browser/net/crl_set_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698