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

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

Issue 2611283002: [mojo talk demo] Convert utility process CheckMediaFile IPC to mojo (Closed)
Patch Set: 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 2016 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/file.mojom";
11
12 interface MediaParser {
13 // Validate the passed media file with sanity checks, and file decoding
14 // for up to |decode_time_ms| wall clock time. Return |success| true if
15 // |file| appears to be a well-formed media file. Note: it is still not
16 // safe to decode the file in the browser process based on the returned
17 // |success|.
18 CheckMediaFile(int64 decode_time_ms, mojo.common.mojom.File file)
19 => (bool success);
20 };
OLDNEW
« no previous file with comments | « chrome/common/extensions/chrome_utility_extensions_messages.h ('k') | chrome/utility/chrome_content_utility_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698