| Index: chrome/common/extensions/extension_unpacker.h
|
| diff --git a/chrome/common/extensions/extension_unpacker.h b/chrome/common/extensions/extension_unpacker.h
|
| index 2526a9ec73699a6b9f488414c1e3e1215c71fa64..3655a38eb0e7fce2f289e9353c2be7f91a783452 100644
|
| --- a/chrome/common/extensions/extension_unpacker.h
|
| +++ b/chrome/common/extensions/extension_unpacker.h
|
| @@ -12,6 +12,7 @@
|
| #include "base/file_path.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/tuple.h"
|
| +#include "chrome/common/extensions/extension.h"
|
|
|
| class SkBitmap;
|
|
|
| @@ -27,7 +28,9 @@ class ExtensionUnpacker {
|
| public:
|
| typedef std::vector< Tuple2<SkBitmap, FilePath> > DecodedImages;
|
|
|
| - explicit ExtensionUnpacker(const FilePath& extension_path);
|
| + explicit ExtensionUnpacker(const FilePath& extension_path,
|
| + Extension::Location location,
|
| + int creation_flags);
|
| ~ExtensionUnpacker();
|
|
|
| // Install the extension file at |extension_path|. Returns true on success.
|
| @@ -85,6 +88,12 @@ class ExtensionUnpacker {
|
| // The extension to unpack.
|
| FilePath extension_path_;
|
|
|
| + // The location to use for the created extension.
|
| + Extension::Location location_;
|
| +
|
| + // The creation flags to use with the created extension.
|
| + int creation_flags_;
|
| +
|
| // The place we unpacked the extension to.
|
| FilePath temp_install_dir_;
|
|
|
|
|