Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / component_updater / component_patcher_operation_out_of_process.cc
index 5c665b8..221ba26 100644 (file)
@@ -7,8 +7,10 @@
 #include <vector>
 
 #include "base/bind.h"
-#include "chrome/browser/component_updater/component_updater_service.h"
+#include "base/callback.h"
+#include "base/files/file_path.h"
 #include "chrome/common/chrome_utility_messages.h"
+#include "components/component_updater/component_updater_service.h"
 #include "content/public/browser/browser_thread.h"
 #include "content/public/browser/utility_process_host.h"
 #include "content/public/browser/utility_process_host_client.h"
@@ -84,9 +86,9 @@ ChromeOutOfProcessPatcher::~ChromeOutOfProcessPatcher() {
 void ChromeOutOfProcessPatcher::Patch(
     const std::string& operation,
     scoped_refptr<base::SequencedTaskRunner> task_runner,
-    base::FilePath& input_abs_path,
-    base::FilePath& patch_abs_path,
-    base::FilePath& output_abs_path,
+    const base::FilePath& input_abs_path,
+    const base::FilePath& patch_abs_path,
+    const base::FilePath& output_abs_path,
     base::Callback<void(int result)> callback) {
   host_ = new PatchHost(callback, task_runner);
   scoped_ptr<IPC::Message> patch_message;