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

Unified Diff: chrome/browser/profiles/profile_info_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/profiles/profile_info_cache.cc
diff --git a/chrome/browser/profiles/profile_info_cache.cc b/chrome/browser/profiles/profile_info_cache.cc
index 0ae399f5310c4395719e44bcea6adb0de3df6d3d..0c0fe7c801f2b178635a234c49b3d270d839efa1 100644
--- a/chrome/browser/profiles/profile_info_cache.cc
+++ b/chrome/browser/profiles/profile_info_cache.cc
@@ -134,9 +134,8 @@ void SaveBitmap(ImageData* data,
return;
}
- if (file_util::WriteFile(image_path,
- reinterpret_cast<char*>(&(*data)[0]),
- data->size()) == -1) {
+ if (base::WriteFile(image_path, reinterpret_cast<char*>(&(*data)[0]),
+ data->size()) == -1) {
LOG(ERROR) << "Failed to save image to file.";
return;
}
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/browser/safe_browsing/download_feedback_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698