diff options
Diffstat (limited to 'chrome/browser/extensions/pack_extension_job.h')
-rw-r--r-- | chrome/browser/extensions/pack_extension_job.h | 8 |
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_ + |