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

Unified Diff: chrome/browser/chromeos/system/automatic_reboot_manager.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/system/automatic_reboot_manager.cc
diff --git a/chrome/browser/chromeos/system/automatic_reboot_manager.cc b/chrome/browser/chromeos/system/automatic_reboot_manager.cc
index 5ac91e7aaf066fd961e192ce62d6e4efe7c88614..1e00316530cd5a237536a8e183e7849a8a7d215b 100644
--- a/chrome/browser/chromeos/system/automatic_reboot_manager.cc
+++ b/chrome/browser/chromeos/system/automatic_reboot_manager.cc
@@ -117,9 +117,8 @@ void SaveUpdateRebootNeededUptime() {
std::string update_reboot_needed_uptime =
base::DoubleToString(uptime.InSecondsF());
- file_util::WriteFileDescriptor(fd,
- update_reboot_needed_uptime.c_str(),
- update_reboot_needed_uptime.size());
+ base::WriteFileDescriptor(fd, update_reboot_needed_uptime.c_str(),
+ update_reboot_needed_uptime.size());
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698