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

Unified Diff: chrome/browser/component_updater/component_patcher_operation_out_of_process.h

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: chrome/browser/component_updater/component_patcher_operation_out_of_process.h
diff --git a/chrome/browser/component_updater/component_patcher_operation_out_of_process.h b/chrome/browser/component_updater/component_patcher_operation_out_of_process.h
index 8424a01a6a192b1b66add65249e9dd6c4ca1c455..e5ebe521ecb4c4be05d2bc7d4537686ff32649b9 100644
--- a/chrome/browser/component_updater/component_patcher_operation_out_of_process.h
+++ b/chrome/browser/component_updater/component_patcher_operation_out_of_process.h
@@ -5,13 +5,14 @@
#ifndef CHROME_BROWSER_COMPONENT_UPDATER_COMPONENT_PATCHER_OPERATION_OUT_OF_PROCESS_H_
#define CHROME_BROWSER_COMPONENT_UPDATER_COMPONENT_PATCHER_OPERATION_OUT_OF_PROCESS_H_
+#include <memory>
#include <string>
#include "base/callback_forward.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "chrome/common/file_patcher.mojom.h"
-#include "components/update_client/component_patcher_operation.h"
+#include "components/update_client/out_of_process_patcher.h"
#include "content/public/browser/utility_process_mojo_client.h"
namespace base {
@@ -27,11 +28,11 @@ class ChromeOutOfProcessPatcher : public update_client::OutOfProcessPatcher {
// update_client::OutOfProcessPatcher:
void Patch(const std::string& operation,
- scoped_refptr<base::SequencedTaskRunner> task_runner,
+ const scoped_refptr<base::SequencedTaskRunner>& task_runner,
const base::FilePath& input_path,
const base::FilePath& patch_path,
const base::FilePath& output_path,
- base::Callback<void(int result)> callback) override;
+ const base::Callback<void(int result)>& callback) override;
private:
~ChromeOutOfProcessPatcher() override;

Powered by Google App Engine
This is Rietveld 408576698