summaryrefslogtreecommitdiffstats
path: root/chrome/browser/component_updater/component_updater_service.h
diff options
context:
space:
mode:
authorrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-29 10:00:05 +0000
committerrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-29 10:00:05 +0000
commitd2db596adffad92a5ad23959b314188e5841dacf (patch)
treeb37b3a358c860f2706328b19f91d4f41ce3b0f42 /chrome/browser/component_updater/component_updater_service.h
parent7a5448244f640c952fb351e03f4a7fd6c30a9a7d (diff)
downloadchromium_src-d2db596adffad92a5ad23959b314188e5841dacf.zip
chromium_src-d2db596adffad92a5ad23959b314188e5841dacf.tar.gz
chromium_src-d2db596adffad92a5ad23959b314188e5841dacf.tar.bz2
RefCounted types should not have public destructors, component_updater edition
BUG=123295 TEST=existing Review URL: https://chromiumcodereview.appspot.com/10414019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139284 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/component_updater/component_updater_service.h')
-rw-r--r--chrome/browser/component_updater/component_updater_service.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/component_updater/component_updater_service.h b/chrome/browser/component_updater/component_updater_service.h
index cf59ad2..abe1dc2 100644
--- a/chrome/browser/component_updater/component_updater_service.h
+++ b/chrome/browser/component_updater/component_updater_service.h
@@ -27,8 +27,6 @@ class DictionaryValue;
// given to ComponentUpdateService::RegisterComponent().
class ComponentInstaller {
public :
- virtual ~ComponentInstaller() {}
-
// Called by the component updater on the UI thread when there was a
// problem unpacking or verifying the component. |error| is a non-zero
// value which is only meaninful to the component updater.
@@ -40,6 +38,9 @@ class ComponentInstaller {
// with all the unpacked CRX files.
virtual bool Install(base::DictionaryValue* manifest,
const FilePath& unpack_path) = 0;
+
+ protected:
+ virtual ~ComponentInstaller() {}
};
// Describes a particular component that can be installed or updated. This