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

Unified Diff: chrome/browser/chromeos/extensions/wallpaper_private_api.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/extensions/wallpaper_private_api.cc
diff --git a/chrome/browser/chromeos/extensions/wallpaper_private_api.cc b/chrome/browser/chromeos/extensions/wallpaper_private_api.cc
index 23105fc96a3e9aef5ee88e503f9c12af6ab2a573..2b98284265095e01cab16c4aa34d0fd101812b81 100644
--- a/chrome/browser/chromeos/extensions/wallpaper_private_api.cc
+++ b/chrome/browser/chromeos/extensions/wallpaper_private_api.cc
@@ -72,8 +72,7 @@ bool SaveData(int key, const std::string& file_name, const std::string& data) {
base::FilePath file_path = data_dir.Append(file_name);
return base::PathExists(file_path) ||
- (file_util::WriteFile(file_path, data.c_str(),
- data.size()) != -1);
+ (base::WriteFile(file_path, data.c_str(), data.size()) != -1);
}
// Gets |file_name| from directory with |key|. Return false if the directory can
« no previous file with comments | « chrome/browser/chromeos/extensions/external_cache_unittest.cc ('k') | chrome/browser/chromeos/external_metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698