Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Unified Diff: chrome/common/extensions/extension_unpacker.h

Issue 8423003: Enable experimental permissions for extensions from the store. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Windows compile warning Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/chrome_utility_messages.h ('k') | chrome/common/extensions/extension_unpacker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « chrome/common/chrome_utility_messages.h ('k') | chrome/common/extensions/extension_unpacker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698