Upstream version 10.38.222.0
[platform/framework/web/crosswalk.git] / src / chrome / common / extensions / api / file_browser_private_internal.idl
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
3 // found in the LICENSE file.
4
5 // Internal, used by fileBrowserPrivate's custom bindings.
6 [platforms=("chromeos"),
7  implemented_in="chrome/browser/chromeos/extensions/file_manager/file_browser_private_api_functions.h"]
8 namespace fileBrowserPrivateInternal {
9   // Entry information that renderers need to create an Entry instance.
10   dictionary EntryDescription {
11     DOMString fileSystemName;
12     DOMString fileSystemRoot;
13     DOMString fileFullPath;
14     boolean fileIsDirectory;
15   };
16
17   callback ResolveIsolatedEntriesCallback = void(EntryDescription[] entries);
18
19   interface Functions {
20     static void resolveIsolatedEntries(DOMString[] urls,
21                                        ResolveIsolatedEntriesCallback callback);
22   };
23 };