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

Unified Diff: components/update_client/component_patcher.cc

Issue 808773005: Move most of the component updater artifacts to update_client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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: 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

Powered by Google App Engine
This is Rietveld 408576698