Chromium Code Reviews| Index: components/arc/common/file_system.mojom |
| diff --git a/components/arc/common/file_system.mojom b/components/arc/common/file_system.mojom |
| index 7cda8973b9874be023d6fa2fb26107767d83629b..f2fd72d62e0062b514dd6414709cfefda59fb788 100644 |
| --- a/components/arc/common/file_system.mojom |
| +++ b/components/arc/common/file_system.mojom |
| @@ -1,12 +1,23 @@ |
| // Copyright 2016 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. |
| +// |
| +// Next MinVersion: 2 |
| module arc.mojom; |
| +// Next method ID: 3 |
| interface FileSystemInstance { |
| // Requests MediaProvider to scan specified files. |
| // When the specified file does not exist, the corresponding entry in |
| // MediaProvider is removed. |
| RequestMediaScan@0(array<string> paths); |
|
Yusuke Sato
2016/11/18 19:09:38
move to L23 to sort methods by name?
Shuhei Takahashi
2016/11/21 11:06:29
Done.
|
| + |
| + // Asks the ContentResolver for the size of the file specified by the URL. |
| + // If the file does not exist or the size is unknown, -1 is returned. |
| + [MinVersion=1] GetFileSize@1(string url) => (int64 size); |
| + |
| + // Asks the ContentResolver to get a FD to read the file specified by the |
| + // URL. |
| + [MinVersion=1] OpenFileToRead@2(string url) => (handle? fd); |
| }; |