| OLD | NEW |
| (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 }; |
| OLD | NEW |