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

Unified Diff: extensions/common/extension_unpacker.mojom

Issue 2952353002: Extensions: Pass current channel and feature session type to extension unpack utility process. (Closed)
Patch Set: Use a single file to hold enum traits. Created 3 years, 6 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 | « extensions/common/extension_messages.cc ('k') | extensions/common/extension_unpacker.typemap » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « extensions/common/extension_messages.cc ('k') | extensions/common/extension_unpacker.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698