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

Unified Diff: chrome/common/extensions/media_parser.mojom

Issue 2615423002: Convert utility process ParseMediaMetadata IPC to mojo (Closed)
Patch Set: Security review comments. 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/media_parser.mojom
diff --git a/chrome/common/extensions/media_parser.mojom b/chrome/common/extensions/media_parser.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..16cc8464ecaacdbdfbc829d6b8649765e8fea387
--- /dev/null
+++ b/chrome/common/extensions/media_parser.mojom
@@ -0,0 +1,24 @@
+// 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.
+
+// Media parsing interface provided by the utility process and exposed by
+// mojo policy control to the chrome browser process.
+
+module extensions.mojom;
+
+import "mojo/common/values.mojom";
+
+struct AttachedImage {
+ string type;
+ array<uint8> data;
+};
+
+interface MediaParser {
+ ParseMediaMetadata(string mime_type,
+ int64 total_size,
+ bool get_attached_images)
+ => (bool parse_success,
+ mojo.common.mojom.DictionaryValue metadata,
+ array<AttachedImage> attached_images);
+};
« no previous file with comments | « chrome/common/extensions/chrome_utility_extensions_messages.h ('k') | chrome/common/extensions/media_parser.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698