Index: chrome/browser/component_updater/component_unpacker.h |
diff --git a/chrome/browser/component_updater/component_unpacker.h b/chrome/browser/component_updater/component_unpacker.h |
index a02f649cce6837319bb516980a1eba12f614b938..ccc80236d23863cdb07d25ef05e88bbfb65063a1 100644 |
--- a/chrome/browser/component_updater/component_unpacker.h |
+++ b/chrome/browser/component_updater/component_unpacker.h |
@@ -94,16 +94,15 @@ class ComponentUnpacker { |
ComponentUnpacker(const std::vector<uint8>& pk_hash, |
const base::FilePath& path, |
const std::string& fingerprint, |
- ComponentPatcher* patcher, |
ComponentInstaller* installer, |
+ bool in_process, |
scoped_refptr<base::SequencedTaskRunner> task_runner); |
virtual ~ComponentUnpacker(); |
// Begins the actual unpacking of the files. May invoke a patcher if the |
// package is a differential update. Call |callback| with the result. |
- void Unpack( |
- const base::Callback<void(Error, int)>& callback); |
+ void Unpack(const base::Callback<void(Error, int)>& callback); |
private: |
bool UnpackInternal(); |
@@ -144,9 +143,10 @@ class ComponentUnpacker { |
base::FilePath unpack_diff_path_; |
bool is_delta_; |
std::string fingerprint_; |
- ComponentPatcher* patcher_; |
+ scoped_ptr<ComponentPatcher> patcher_; |
ComponentInstaller* installer_; |
base::Callback<void(Error, int)> callback_; |
+ bool in_process_; |
Error error_; |
int extended_error_; |
base::WeakPtrFactory<ComponentUnpacker> ptr_factory_; |