Index: extensions/common/extension_unpacker.mojom |
diff --git a/extensions/common/extension_unpacker.mojom b/extensions/common/extension_unpacker.mojom |
index c2321c543887fa22eec0c46d0b57c30834b89abb..47c19c805ef25ca8eee1be819ceab05f3722d24b 100644 |
--- a/extensions/common/extension_unpacker.mojom |
+++ b/extensions/common/extension_unpacker.mojom |
@@ -24,7 +24,11 @@ interface ExtensionUnpacker { |
// kDecodedImagesFilename and kDecodedMessageCatalogsFilename in |path|. |
// If Unpack() fails for any reason, |error| contains a user-displayable |
// explanation of what went wrong. |
- Unpack(mojo.common.mojom.FilePath path, |
+ // |channel| and |type| are needed to initialize the global state of the |
+ // extension system, which is needed while creating the Extension object. |
+ Unpack(FeatureChannel channel, |
+ FeatureSessionType type, |
+ mojo.common.mojom.FilePath path, |
string extension_id, |
ManifestLocation location, |
int32 creation_flags) |
@@ -34,3 +38,9 @@ interface ExtensionUnpacker { |
[Native] |
enum ManifestLocation; |
+ |
+[Native] |
+enum FeatureChannel; |
+ |
+[Native] |
+enum FeatureSessionType; |