diff options
author | bauerb <bauerb@chromium.org> | 2015-02-08 16:00:27 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-09 00:01:15 +0000 |
commit | 1f6657e7f1cf36e7a490c494c0794b124c86b6ec (patch) | |
tree | a7d54dc73cb55c5f5136fd6237bf7d0cb9a977cc /components/component_updater/default_component_installer.h | |
parent | cce3cff79038a60aab74990acd2974de518d5c9f (diff) | |
download | chromium_src-1f6657e7f1cf36e7a490c494c0794b124c86b6ec.zip chromium_src-1f6657e7f1cf36e7a490c494c0794b124c86b6ec.tar.gz chromium_src-1f6657e7f1cf36e7a490c494c0794b124c86b6ec.tar.bz2 |
Add support for uninstalling components and use it in SupervisedUserWhitelistInstaller.
TBR=agl@chromium.org
BUG=436459
Review URL: https://codereview.chromium.org/879993005
Cr-Commit-Position: refs/heads/master@{#315246}
Diffstat (limited to 'components/component_updater/default_component_installer.h')
-rw-r--r-- | components/component_updater/default_component_installer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/component_updater/default_component_installer.h b/components/component_updater/default_component_installer.h index 8a39993..5815cd1 100644 --- a/components/component_updater/default_component_installer.h +++ b/components/component_updater/default_component_installer.h @@ -98,6 +98,7 @@ class DefaultComponentInstaller : public update_client::ComponentInstaller { const base::FilePath& unpack_path) override; bool GetInstalledFile(const std::string& file, base::FilePath* installed_file) override; + bool Uninstall() override; private: ~DefaultComponentInstaller() override; @@ -109,6 +110,7 @@ class DefaultComponentInstaller : public update_client::ComponentInstaller { void StartRegistration(ComponentUpdateService* cus); void FinishRegistration(ComponentUpdateService* cus); void ComponentReady(scoped_ptr<base::DictionaryValue> manifest); + void UninstallOnTaskRunner(); base::Version current_version_; std::string current_fingerprint_; |