diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-06 00:32:01 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-06 00:32:01 +0000 |
commit | 89afcea333db036bc6710cd8a6ec90b388eee84a (patch) | |
tree | b0889227bdb1e7768e868911eaa64e45b40745ad /chrome/browser/extensions/sandboxed_extension_unpacker.h | |
parent | b1f498e33399652b128d9801ad7d96bbeee4ba87 (diff) | |
download | chromium_src-89afcea333db036bc6710cd8a6ec90b388eee84a.zip chromium_src-89afcea333db036bc6710cd8a6ec90b388eee84a.tar.gz chromium_src-89afcea333db036bc6710cd8a6ec90b388eee84a.tar.bz2 |
Sixth patch in making destructors of refcounted objects private.
BUG=26749
Review URL: http://codereview.chromium.org/370001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31176 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/sandboxed_extension_unpacker.h')
-rw-r--r-- | chrome/browser/extensions/sandboxed_extension_unpacker.h | 8 |
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 |