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

Unified Diff: chrome/browser/chromeos/policy/user_policy_disk_cache.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/policy/user_policy_disk_cache.cc
diff --git a/chrome/browser/chromeos/policy/user_policy_disk_cache.cc b/chrome/browser/chromeos/policy/user_policy_disk_cache.cc
index cab80206cd88e17a85fd13fdcd4d572deaee3ec5..7a3c6ca08dc257c0c551dd1dbb541d3ff47b57cc 100644
--- a/chrome/browser/chromeos/policy/user_policy_disk_cache.cc
+++ b/chrome/browser/chromeos/policy/user_policy_disk_cache.cc
@@ -131,7 +131,7 @@ void UserPolicyDiskCache::StoreOnFileThread(
}
int size = data.size();
- if (file_util::WriteFile(backing_file_path_, data.c_str(), size) != size) {
+ if (base::WriteFile(backing_file_path_, data.c_str(), size) != size) {
LOG(WARNING) << "Failed to write " << backing_file_path_.value();
UMA_HISTOGRAM_ENUMERATION(policy::kMetricPolicy,
kMetricPolicyStoreFailed,

Powered by Google App Engine
This is Rietveld 408576698