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

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

Issue 2505993005: Move FS related mojo methods to ArcFileSystemInstance. (Closed)
Patch Set: Define version constants. Created 4 years 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 {
11 // Asks the ContentResolver for the size of the file specified by the URL.
12 // If the file does not exist or the size is unknown, -1 is returned.
13 [MinVersion=1] GetFileSize@1(string url) => (int64 size);
14
15 // Asks the ContentResolver to get a FD to read the file specified by the
16 // URL.
17 [MinVersion=1] OpenFileToRead@2(string url) => (handle? fd);
18
8 // Requests MediaProvider to scan specified files. 19 // Requests MediaProvider to scan specified files.
9 // When the specified file does not exist, the corresponding entry in 20 // When the specified file does not exist, the corresponding entry in
10 // MediaProvider is removed. 21 // MediaProvider is removed.
11 RequestMediaScan@0(array<string> paths); 22 RequestMediaScan@0(array<string> paths);
12 }; 23 };
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/arc/fileapi/intent_helper_util.cc ('k') | components/arc/common/intent_helper.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698