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

Unified Diff: chrome/browser/google/google_update_settings_posix.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/google/google_update_settings_posix.cc
diff --git a/chrome/browser/google/google_update_settings_posix.cc b/chrome/browser/google/google_update_settings_posix.cc
index b8615769aaba79593fd420138752572763cb04cf..ac661922dbabb411c96d4aa28627e997093d3cd5 100644
--- a/chrome/browser/google/google_update_settings_posix.cc
+++ b/chrome/browser/google/google_update_settings_posix.cc
@@ -48,7 +48,7 @@ bool GoogleUpdateSettings::SetCollectStatsConsent(bool consented) {
!google_update::posix_guid().empty())) {
const char* c_str = google_update::posix_guid().c_str();
int size = google_update::posix_guid().size();
- return file_util::WriteFile(consent_file, c_str, size) == size;
+ return base::WriteFile(consent_file, c_str, size) == size;
}
} else {
google_update::posix_guid().clear();
« no previous file with comments | « chrome/browser/first_run/first_run_internal_win.cc ('k') | chrome/browser/history/history_backend_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698