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

Side by Side Diff: extensions/common/manifest_parser.mojom

Issue 2699663003: Convert utility process extension ParseUpdate IPC to mojo (Closed)
Patch Set: Sync to ToT, see if git apply issue and try jobs are happy. 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Secure chrome extension update manifest parser provided by the utility
6 // process and exposed by mojo policy to the chrome browser process.
7
8 module extensions.mojom;
9
10 import "url/mojo/url.mojom";
11
12 interface ManifestParser {
13 // Parse an extensions update manifest |xml| document and return the
14 // |results|, or null if parsing fails.
15 Parse(string xml) => (UpdateManifestResults? results);
16 };
17
18 struct UpdateManifestResults {
19 array<UpdateManifestResult> list;
20 int32 daystart_elapsed_seconds;
21 };
22
23 struct UpdateManifestResult {
24 string extension_id;
25 string version;
26 string browser_min_version;
27
28 url.mojom.Url crx_url;
29 string package_hash;
30 int32 size;
31 string package_fingerprint;
32
33 url.mojom.Url diff_crx_url;
34 string diff_package_hash;
35 int32 diff_size;
36 };
OLDNEW
« 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