summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/pack_extension_job.h
diff options
context:
space:
mode:
authorrafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-07 22:26:07 +0000
committerrafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-07 22:26:07 +0000
commit66d6d400d539f526671920968970d02c03f70148 (patch)
tree1610fbb6f8040cebd86a3c393e516135ae42aa0f /chrome/browser/extensions/pack_extension_job.h
parent901b693d44f58e87c48ff4bcfdf0f474cb56993f (diff)
downloadchromium_src-66d6d400d539f526671920968970d02c03f70148.zip
chromium_src-66d6d400d539f526671920968970d02c03f70148.tar.gz
chromium_src-66d6d400d539f526671920968970d02c03f70148.tar.bz2
Reland: HTML Pack Extension Dialog / Linux & Mac Packaging Support. Part 1.
original issue: http://codereview.chromium.org/207062 Attempting to land this patch earlier resulted in compile failures on linux valgrind and linux perf that I was unable to reproduce. I am splitting this into two pieces. This piece adds extension packing support via --pack-extension for mac & linux. BUG=20668,20669 Review URL: http://codereview.chromium.org/266007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28325 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/pack_extension_job.h')
-rw-r--r--chrome/browser/extensions/pack_extension_job.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/chrome/browser/extensions/pack_extension_job.h b/chrome/browser/extensions/pack_extension_job.h
index ec00f21..8c3cf26 100644
--- a/chrome/browser/extensions/pack_extension_job.h
+++ b/chrome/browser/extensions/pack_extension_job.h
@@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#ifndef CHROME_BROWSER_EXTENSIONS_PACK_EXTENSION_JOB_UI_H_
+#define CHROME_BROWSER_EXTENSIONS_PACK_EXTENSION_JOB_UI_H_
+
#include <string>
#include "base/file_path.h"
@@ -11,7 +14,7 @@ class MessageLoop;
// Manages packing an extension on the file thread and reporting the result
// back to the UI.
-class PackExtensionJob : public base::RefCounted<PackExtensionJob> {
+class PackExtensionJob : public base::RefCountedThreadSafe<PackExtensionJob> {
public:
// Interface for people who want to use PackExtensionJob to implement.
@@ -46,3 +49,6 @@ class PackExtensionJob : public base::RefCounted<PackExtensionJob> {
DISALLOW_COPY_AND_ASSIGN(PackExtensionJob);
};
+
+#endif // CHROME_BROWSER_EXTENSIONS_PACK_EXTENSION_JOB_UI_H_
+