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

Unified Diff: chrome/browser/extensions/api/messaging/native_message_process_host_unittest.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/extensions/api/messaging/native_message_process_host_unittest.cc
diff --git a/chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc b/chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc
index c182b29108b102d8af179907b8a838afebb4e901..a57fb744449257754a7e54059d39fd508e8dfab9 100644
--- a/chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc
+++ b/chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc
@@ -147,7 +147,7 @@ class NativeMessagingTest : public ::testing::Test,
return base::FilePath();
std::string message_with_header = FormatMessage(message);
- int bytes_written = file_util::WriteFile(
+ int bytes_written = base::WriteFile(
filename, message_with_header.data(), message_with_header.size());
if (bytes_written < 0 ||
(message_with_header.size() != static_cast<size_t>(bytes_written))) {

Powered by Google App Engine
This is Rietveld 408576698