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

Unified Diff: chrome/browser/component_updater/pepper_flash_component_installer.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: chrome/browser/component_updater/pepper_flash_component_installer.cc
diff --git a/chrome/browser/component_updater/pepper_flash_component_installer.cc b/chrome/browser/component_updater/pepper_flash_component_installer.cc
index fc9b092c2acc2f86a320713f0d1db4b8c40d98b9..e811a995cf4e53533579dddf0a7c27b7dc64bae8 100644
--- a/chrome/browser/component_updater/pepper_flash_component_installer.cc
+++ b/chrome/browser/component_updater/pepper_flash_component_installer.cc
@@ -335,8 +335,7 @@ class PepperFlashComponentInstaller : public update_client::ComponentInstaller {
public:
explicit PepperFlashComponentInstaller(const Version& version);
- ~PepperFlashComponentInstaller() override {}
-
+ // ComponentInstaller implementation:
void OnUpdateError(int error) override;
bool Install(const base::DictionaryValue& manifest,
@@ -346,6 +345,8 @@ class PepperFlashComponentInstaller : public update_client::ComponentInstaller {
base::FilePath* installed_file) override;
private:
+ ~PepperFlashComponentInstaller() override {}
+
Version current_version_;
};
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/component_updater/pnacl/pnacl_component_installer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698