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

Unified Diff: components/update_client/component_unpacker.cc

Issue 897873002: Make ComponentInstaller refcounted. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@2015_01_19_component_installer
Patch Set: fix Created 5 years, 10 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_unpacker.cc
diff --git a/components/update_client/component_unpacker.cc b/components/update_client/component_unpacker.cc
index 27d75b9f14af689a0eb43df556bc5f4e6c95e0c5..eb1b2d89d97aff4a25135e3956d76392e9a1485a 100644
--- a/components/update_client/component_unpacker.cc
+++ b/components/update_client/component_unpacker.cc
@@ -102,9 +102,9 @@ ComponentUnpacker::ComponentUnpacker(
const std::vector<uint8_t>& pk_hash,
const base::FilePath& path,
const std::string& fingerprint,
- ComponentInstaller* installer,
- scoped_refptr<OutOfProcessPatcher> oop_patcher,
- scoped_refptr<base::SequencedTaskRunner> task_runner)
+ const scoped_refptr<ComponentInstaller>& installer,
+ const scoped_refptr<OutOfProcessPatcher>& oop_patcher,
+ const scoped_refptr<base::SequencedTaskRunner>& task_runner)
: pk_hash_(pk_hash),
path_(path),
is_delta_(false),
« no previous file with comments | « components/update_client/component_unpacker.h ('k') | components/update_client/test/component_patcher_unittest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698