summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/pack_extension_job.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-06 00:32:01 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-06 00:32:01 +0000
commit89afcea333db036bc6710cd8a6ec90b388eee84a (patch)
treeb0889227bdb1e7768e868911eaa64e45b40745ad /chrome/browser/extensions/pack_extension_job.h
parentb1f498e33399652b128d9801ad7d96bbeee4ba87 (diff)
downloadchromium_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/pack_extension_job.h')
-rw-r--r--chrome/browser/extensions/pack_extension_job.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/extensions/pack_extension_job.h b/chrome/browser/extensions/pack_extension_job.h
index 8a40692..526d16d 100644
--- a/chrome/browser/extensions/pack_extension_job.h
+++ b/chrome/browser/extensions/pack_extension_job.h
@@ -34,6 +34,10 @@ class PackExtensionJob : public base::RefCountedThreadSafe<PackExtensionJob> {
void ClearClient();
private:
+ friend class base::RefCountedThreadSafe<PackExtensionJob>;
+
+ ~PackExtensionJob() {}
+
void RunOnFileThread();
void ReportSuccessOnUIThread();
void ReportFailureOnUIThread(const std::string& error);