Move DeleteAfterReboot, Move, and ReplaceFile to base namespace
Rename ReplaceFileAndGetError (only used once) to ReplaceFile (used 5 times) and have each of those callers specify NULL for the output error if they don't care.
Remove InsertBeforeExtension from file_util.cc which seems to be unused.
BUG=
Review URL: https://codereview.chromium.org/18383003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209532 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/component_updater/component_patcher_operation.cc b/chrome/browser/component_updater/component_patcher_operation.cc
index 0c119919..f8142380 100644
--- a/chrome/browser/component_updater/component_patcher_operation.cc
+++ b/chrome/browser/component_updater/component_patcher_operation.cc
@@ -150,7 +150,7 @@
ComponentUnpacker::Error DeltaUpdateOpCreate::DoRun(ComponentPatcher*,
int* error) {
*error = 0;
- if (!file_util::Move(patch_abs_path_, output_abs_path_))
+ if (!base::Move(patch_abs_path_, output_abs_path_))
return ComponentUnpacker::kDeltaOperationFailure;
return ComponentUnpacker::kNone;