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

Unified Diff: chrome/browser/component_updater/component_unpacker.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/component_updater/component_unpacker.cc
diff --git a/chrome/browser/component_updater/component_unpacker.cc b/chrome/browser/component_updater/component_unpacker.cc
index a8903dbf7790280a9ba51078401c6eb46877a926..4134b3e1beae9e9bb6cb9c4919ca74d4acba21c3 100644
--- a/chrome/browser/component_updater/component_unpacker.cc
+++ b/chrome/browser/component_updater/component_unpacker.cc
@@ -240,7 +240,7 @@ void ComponentUnpacker::EndPatching(Error error, int extended_error) {
void ComponentUnpacker::Install() {
// Write the fingerprint to disk.
if (static_cast<int>(fingerprint_.size()) !=
- file_util::WriteFile(
+ base::WriteFile(
unpack_path_.Append(FILE_PATH_LITERAL("manifest.fingerprint")),
fingerprint_.c_str(),
fingerprint_.size())) {

Powered by Google App Engine
This is Rietveld 408576698