Index: chrome/browser/extensions/pack_extension_job.h |
diff --git a/chrome/browser/extensions/pack_extension_job.h b/chrome/browser/extensions/pack_extension_job.h |
index ec00f21c2a9f665ba1ab53c1f3ac02853ccc64af..8c3cf269a3ee13f15436ee9f071fa5f898157774 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_ |
+ |