OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 | 4 |
5 // Internal, used by fileBrowserPrivate's custom bindings. | 5 // Internal, used by fileManagerPrivate's custom bindings. |
6 [platforms=("chromeos"), | 6 [platforms=("chromeos"), |
7 implemented_in="chrome/browser/chromeos/extensions/file_manager/file_browser_pr
ivate_api_functions.h"] | 7 implemented_in="chrome/browser/chromeos/extensions/file_manager/file_manager_pr
ivate_api_functions.h"] |
8 namespace fileBrowserPrivateInternal { | 8 namespace fileManagerPrivateInternal { |
9 // Entry information that renderers need to create an Entry instance. | 9 // Entry information that renderers need to create an Entry instance. |
10 dictionary EntryDescription { | 10 dictionary EntryDescription { |
11 DOMString fileSystemName; | 11 DOMString fileSystemName; |
12 DOMString fileSystemRoot; | 12 DOMString fileSystemRoot; |
13 DOMString fileFullPath; | 13 DOMString fileFullPath; |
14 boolean fileIsDirectory; | 14 boolean fileIsDirectory; |
15 }; | 15 }; |
16 | 16 |
17 callback ResolveIsolatedEntriesCallback = void(EntryDescription[] entries); | 17 callback ResolveIsolatedEntriesCallback = void(EntryDescription[] entries); |
18 | 18 |
19 interface Functions { | 19 interface Functions { |
20 static void resolveIsolatedEntries(DOMString[] urls, | 20 static void resolveIsolatedEntries(DOMString[] urls, |
21 ResolveIsolatedEntriesCallback callback); | 21 ResolveIsolatedEntriesCallback callback); |
22 }; | 22 }; |
23 }; | 23 }; |
OLD | NEW |