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

Unified Diff: trunk/src/chrome/browser/chromeos/boot_times_loader.cc

Issue 105823009: Revert 239280 "Move more file_util functions to base namespace." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years 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
« no previous file with comments | « trunk/src/base/win/shortcut_unittest.cc ('k') | trunk/src/chrome/browser/chromeos/drive/file_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/browser/chromeos/boot_times_loader.cc
===================================================================
--- trunk/src/chrome/browser/chromeos/boot_times_loader.cc (revision 239399)
+++ trunk/src/chrome/browser/chromeos/boot_times_loader.cc (working copy)
@@ -129,12 +129,12 @@
static int AppendFile(const base::FilePath& file_path,
const char* data,
int size) {
- FILE* file = base::OpenFile(file_path, "a");
+ FILE* file = file_util::OpenFile(file_path, "a");
if (!file) {
return -1;
}
const int num_bytes_written = fwrite(data, 1, size, file);
- base::CloseFile(file);
+ file_util::CloseFile(file);
return num_bytes_written;
}
« no previous file with comments | « trunk/src/base/win/shortcut_unittest.cc ('k') | trunk/src/chrome/browser/chromeos/drive/file_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698