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

Side by Side Diff: chrome/common/extensions/media_parser.mojom

Issue 2615423002: Convert utility process ParseMediaMetadata IPC to mojo (Closed)
Patch Set: Patch for review. Created 3 years, 11 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 // Media parsing interface provided by the utility process and exposed by
6 // mojo policy control to the chrome browser process.
7
8 module extensions.mojom;
9
10 import "mojo/common/values.mojom";
11
12 struct AttachedImage {
13 string type;
tibell 2017/01/09 03:55:51 Is this a MIME type? Please add a comment and perh
Noel Gordon 2017/01/09 14:54:19 Not sure it's a mime type: no documentation in ::m
14 string data;
tibell 2017/01/09 03:55:51 If this is binary data use array<uint8>. string wi
Noel Gordon 2017/01/09 14:54:19 Looks like binary data, so good point; use an arra
15 };
16
17 interface MediaParser {
18 ParseMediaMetadata(string mime_type,
19 int64 total_size,
20 bool get_attached_images)
21 => (bool parse_success,
22 mojo.common.mojom.DictionaryValue metadata,
23 array<AttachedImage> attached_images);
24 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698