summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/sandboxed_extension_unpacker.h
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-06 08:32:17 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-06 08:32:17 +0000
commit8de85a60ef3c615360d0c644f7f16f9a13103865 (patch)
tree0ac8ff6a33b4b70c868015fb50b16c08f92d5018 /chrome/browser/extensions/sandboxed_extension_unpacker.h
parent716984c61da9f5a8ac8158d122e50646081f5b6e (diff)
downloadchromium_src-8de85a60ef3c615360d0c644f7f16f9a13103865.zip
chromium_src-8de85a60ef3c615360d0c644f7f16f9a13103865.tar.gz
chromium_src-8de85a60ef3c615360d0c644f7f16f9a13103865.tar.bz2
Revert "Revert r31175 r31176 r31187"
The bustage seems to be a WebKit change upstream. It is not reverted in WebKit and merger. So bring the innocent change back in. TBR=jam TEST=green tree Review URL: http://codereview.chromium.org/375009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31214 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/sandboxed_extension_unpacker.h')
-rw-r--r--chrome/browser/extensions/sandboxed_extension_unpacker.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/chrome/browser/extensions/sandboxed_extension_unpacker.h b/chrome/browser/extensions/sandboxed_extension_unpacker.h
index 91cd67f..b5f1741 100644
--- a/chrome/browser/extensions/sandboxed_extension_unpacker.h
+++ b/chrome/browser/extensions/sandboxed_extension_unpacker.h
@@ -20,9 +20,6 @@ class ResourceDispatcherHost;
class SandboxedExtensionUnpackerClient
: public base::RefCountedThreadSafe<SandboxedExtensionUnpackerClient> {
public:
- virtual ~SandboxedExtensionUnpackerClient(){
- }
-
// temp_dir - A temporary directoy containing the results of the extension
// unpacking. The client is responsible for deleting this directory.
//
@@ -34,6 +31,11 @@ class SandboxedExtensionUnpackerClient
const FilePath& extension_root,
Extension* extension) = 0;
virtual void OnUnpackFailure(const std::string& error) = 0;
+
+ protected:
+ friend class base::RefCountedThreadSafe<SandboxedExtensionUnpackerClient>;
+
+ virtual ~SandboxedExtensionUnpackerClient() {}
};
// SandboxedExtensionUnpacker unpacks extensions from the CRX format into a