Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 // | |
| 5 // Next MinVersion: 2 | |
| 4 | 6 |
| 5 module arc.mojom; | 7 module arc.mojom; |
| 6 | 8 |
| 9 // Next method ID: 3 | |
| 7 interface FileSystemInstance { | 10 interface FileSystemInstance { |
| 8 // Requests MediaProvider to scan specified files. | 11 // Requests MediaProvider to scan specified files. |
| 9 // When the specified file does not exist, the corresponding entry in | 12 // When the specified file does not exist, the corresponding entry in |
| 10 // MediaProvider is removed. | 13 // MediaProvider is removed. |
| 11 RequestMediaScan@0(array<string> paths); | 14 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.
| |
| 15 | |
| 16 // Asks the ContentResolver for the size of the file specified by the URL. | |
| 17 // If the file does not exist or the size is unknown, -1 is returned. | |
| 18 [MinVersion=1] GetFileSize@1(string url) => (int64 size); | |
| 19 | |
| 20 // Asks the ContentResolver to get a FD to read the file specified by the | |
| 21 // URL. | |
| 22 [MinVersion=1] OpenFileToRead@2(string url) => (handle? fd); | |
| 12 }; | 23 }; |
| OLD | NEW |