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

Unified Diff: chrome/browser/media_galleries/win/mtp_device_operations_util.cc

Issue 177923007: Move AppendFile and *CurrentDirectory to the base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
Index: chrome/browser/media_galleries/win/mtp_device_operations_util.cc
diff --git a/chrome/browser/media_galleries/win/mtp_device_operations_util.cc b/chrome/browser/media_galleries/win/mtp_device_operations_util.cc
index 6384e81afb3408c6cfc11c9d85baff6c275ea5d1..66d373d05f96ebac1316b790a6a8a88c5a3e6774 100644
--- a/chrome/browser/media_galleries/win/mtp_device_operations_util.cc
+++ b/chrome/browser/media_galleries/win/mtp_device_operations_util.cc
@@ -386,7 +386,7 @@ DWORD CopyDataChunkToLocalFile(IStream* stream,
base::checked_cast<int>(
std::min(bytes_read,
base::checked_cast<DWORD>(buffer.length())));
- if (file_util::AppendToFile(local_path, buffer.c_str(), data_len) != data_len)
+ if (base::AppendToFile(local_path, buffer.c_str(), data_len) != data_len)
return 0U;
return data_len;
}
« no previous file with comments | « chrome/browser/media_galleries/linux/mtp_read_file_worker.cc ('k') | chrome/browser/net/net_log_temp_file_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698