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

Unified Diff: extensions/common/manifest_parser.mojom

Issue 2699663003: Convert utility process extension ParseUpdate IPC to mojo (Closed)
Patch Set: Extensions review comments. Created 3 years, 9 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_utility_messages.h ('k') | extensions/common/manifest_parser.typemap » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/manifest_parser.mojom
diff --git a/extensions/common/manifest_parser.mojom b/extensions/common/manifest_parser.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..be0aa7894b1b6e7b7f894f30497332d96f701ac6
--- /dev/null
+++ b/extensions/common/manifest_parser.mojom
@@ -0,0 +1,36 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Secure chrome extension update manifest parser provided by the utility
+// process and exposed by mojo policy to the chrome browser process.
+
+module extensions.mojom;
+
+import "url/mojo/url.mojom";
+
+interface ManifestParser {
+ // Parse an extensions update manifest |xml| document and return the
+ // |results|, or null if parsing fails.
+ Parse(string xml) => (UpdateManifestResults? results);
+};
+
+struct UpdateManifestResults {
+ array<UpdateManifestResult> list;
+ int32 daystart_elapsed_seconds;
+};
+
+struct UpdateManifestResult {
+ string extension_id;
+ string version;
+ string browser_min_version;
+
+ url.mojom.Url crx_url;
+ string package_hash;
+ int32 size;
+ string package_fingerprint;
+
+ url.mojom.Url diff_crx_url;
+ string diff_package_hash;
+ int32 diff_size;
+};
« no previous file with comments | « extensions/common/extension_utility_messages.h ('k') | extensions/common/manifest_parser.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698