| Index: components/update_client/component_patcher.cc
|
| diff --git a/components/component_updater/component_patcher.cc b/components/update_client/component_patcher.cc
|
| similarity index 89%
|
| rename from components/component_updater/component_patcher.cc
|
| rename to components/update_client/component_patcher.cc
|
| index 17c997f1ab736bc7ed588f99f52a075d96cff025..651756e1b9d016011b97175f75764a2dee49be6d 100644
|
| --- a/components/component_updater/component_patcher.cc
|
| +++ b/components/update_client/component_patcher.cc
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "components/component_updater/component_patcher.h"
|
| +#include "components/update_client/component_patcher.h"
|
|
|
| #include <string>
|
| #include <vector>
|
| @@ -15,10 +15,9 @@
|
| #include "base/location.h"
|
| #include "base/memory/weak_ptr.h"
|
| #include "base/values.h"
|
| -#include "components/component_updater/component_patcher_operation.h"
|
| -#include "components/component_updater/component_updater_service.h"
|
| +#include "components/update_client/component_patcher_operation.h"
|
|
|
| -namespace component_updater {
|
| +namespace update_client {
|
|
|
| namespace {
|
|
|
| @@ -95,10 +94,7 @@ void ComponentPatcher::PatchNextFile() {
|
| DonePatching(ComponentUnpacker::kDeltaUnsupportedCommand, 0);
|
| return;
|
| }
|
| - current_operation_->Run(command_args,
|
| - input_dir_,
|
| - unpack_dir_,
|
| - installer_,
|
| + current_operation_->Run(command_args, input_dir_, unpack_dir_, installer_,
|
| base::Bind(&ComponentPatcher::DonePatchingFile,
|
| scoped_refptr<ComponentPatcher>(this)),
|
| task_runner_);
|
| @@ -122,4 +118,4 @@ void ComponentPatcher::DonePatching(ComponentUnpacker::Error error,
|
| callback_.Reset();
|
| }
|
|
|
| -} // namespace component_updater
|
| +} // namespace update_client
|
|
|