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

Unified Diff: chrome/browser/chromeos/drive/file_system_util.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/chromeos/drive/file_system_util.cc
diff --git a/chrome/browser/chromeos/drive/file_system_util.cc b/chrome/browser/chromeos/drive/file_system_util.cc
index cdc6d392baa6e17910e8c7ceeef0d9ed4fa1685c..283772e6a4ec46bad193b4c92b25aae438be50ce 100644
--- a/chrome/browser/chromeos/drive/file_system_util.cc
+++ b/chrome/browser/chromeos/drive/file_system_util.cc
@@ -365,7 +365,7 @@ bool CreateGDocFile(const base::FilePath& file_path,
std::string content = base::StringPrintf(
"{\"url\": \"%s\", \"resource_id\": \"%s\"}",
url.spec().c_str(), resource_id.c_str());
- return file_util::WriteFile(file_path, content.data(), content.size()) ==
+ return base::WriteFile(file_path, content.data(), content.size()) ==
static_cast<int>(content.size());
}

Powered by Google App Engine
This is Rietveld 408576698