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

Unified Diff: chrome/browser/media_galleries/linux/mtp_read_file_worker.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/linux/mtp_read_file_worker.cc
diff --git a/chrome/browser/media_galleries/linux/mtp_read_file_worker.cc b/chrome/browser/media_galleries/linux/mtp_read_file_worker.cc
index 456da9263cb1917750f752e72b866fcdb85fd9aa..88cec2e18ec48d1f982bb7394b2f0f12d16e6029 100644
--- a/chrome/browser/media_galleries/linux/mtp_read_file_worker.cc
+++ b/chrome/browser/media_galleries/linux/mtp_read_file_worker.cc
@@ -28,8 +28,8 @@ uint32 WriteDataChunkIntoSnapshotFileOnFileThread(
const std::string& data) {
DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::FILE));
int bytes_written =
- file_util::AppendToFile(snapshot_file_path, data.data(),
- base::checked_cast<int>(data.size()));
+ base::AppendToFile(snapshot_file_path, data.data(),
+ base::checked_cast<int>(data.size()));
return (static_cast<int>(data.size()) == bytes_written) ?
base::checked_cast<uint32>(bytes_written) : 0;
}
« no previous file with comments | « chrome/browser/devtools/devtools_file_helper.cc ('k') | chrome/browser/media_galleries/win/mtp_device_operations_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698