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

Unified Diff: components/update_client/component_patcher_operation.cc

Issue 2873513002: Fix dependencies on OutOfProcessPatcher. (Closed)
Patch Set: base namespace fix Created 3 years, 7 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_operation.cc
diff --git a/components/update_client/component_patcher_operation.cc b/components/update_client/component_patcher_operation.cc
index f3fa282c13c418ef8d491eb3fa8309c49876bb94..be7be1f3208da58ffad9dd0aa0607b5b48bfb0a0 100644
--- a/components/update_client/component_patcher_operation.cc
+++ b/components/update_client/component_patcher_operation.cc
@@ -12,6 +12,7 @@
#include "base/files/memory_mapped_file.h"
#include "base/location.h"
#include "base/strings/string_number_conversions.h"
+#include "components/update_client/out_of_process_patcher.h"
#include "components/update_client/update_client.h"
#include "components/update_client/update_client_errors.h"
#include "components/update_client/utils.h"
@@ -169,7 +170,7 @@ void DeltaUpdateOpCreate::DoRun(const ComponentPatcher::Callback& callback) {
DeltaUpdateOpPatch::DeltaUpdateOpPatch(
const std::string& operation,
- scoped_refptr<OutOfProcessPatcher> out_of_process_patcher)
+ const scoped_refptr<OutOfProcessPatcher>& out_of_process_patcher)
: operation_(operation), out_of_process_patcher_(out_of_process_patcher) {
DCHECK(operation == kBsdiff || operation == kCourgette);
}
« no previous file with comments | « components/update_client/component_patcher_operation.h ('k') | components/update_client/component_unpacker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698