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

Side by Side Diff: components/arc/common/file_system.mojom

Issue 2505993005: Move FS related mojo methods to ArcFileSystemInstance. (Closed)
Patch Set: Created 4 years, 1 month 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
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 };
OLDNEW
« no previous file with comments | « no previous file | components/arc/common/intent_helper.mojom » ('j') | components/arc/common/intent_helper.mojom » ('J')

Powered by Google App Engine
This is Rietveld 408576698