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

Unified Diff: components/component_updater/default_component_installer.h

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/component_updater/default_component_installer.h
diff --git a/components/component_updater/default_component_installer.h b/components/component_updater/default_component_installer.h
index 120d3a5de8cd44ae484120ee7633aa326e7661cd..8a39993bb970d0c6961df4b265692808cf734dbc 100644
--- a/components/component_updater/default_component_installer.h
+++ b/components/component_updater/default_component_installer.h
@@ -99,15 +99,16 @@ class DefaultComponentInstaller : public update_client::ComponentInstaller {
bool GetInstalledFile(const std::string& file,
base::FilePath* installed_file) override;
+ private:
~DefaultComponentInstaller() override;
- private:
base::FilePath GetInstallDirectory();
bool InstallHelper(const base::DictionaryValue& manifest,
const base::FilePath& unpack_path,
const base::FilePath& install_path);
void StartRegistration(ComponentUpdateService* cus);
void FinishRegistration(ComponentUpdateService* cus);
+ void ComponentReady(scoped_ptr<base::DictionaryValue> manifest);
base::Version current_version_;
std::string current_fingerprint_;
« no previous file with comments | « components/component_updater/component_updater_service.cc ('k') | components/component_updater/default_component_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698