Index: components/update_client/component_patcher.cc |
diff --git a/components/update_client/component_patcher.cc b/components/update_client/component_patcher.cc |
index 651756e1b9d016011b97175f75764a2dee49be6d..3077bc4f40b5a24ebe1f8a7ca71a87d285862c79 100644 |
--- a/components/update_client/component_patcher.cc |
+++ b/components/update_client/component_patcher.cc |
@@ -16,6 +16,7 @@ |
#include "base/memory/weak_ptr.h" |
#include "base/values.h" |
#include "components/update_client/component_patcher_operation.h" |
+#include "components/update_client/update_client.h" |
namespace update_client { |
@@ -42,7 +43,7 @@ base::ListValue* ReadCommands(const base::FilePath& unpack_path) { |
ComponentPatcher::ComponentPatcher( |
const base::FilePath& input_dir, |
const base::FilePath& unpack_dir, |
- ComponentInstaller* installer, |
+ scoped_refptr<ComponentInstaller> installer, |
scoped_refptr<OutOfProcessPatcher> out_of_process_patcher, |
scoped_refptr<base::SequencedTaskRunner> task_runner) |
: input_dir_(input_dir), |