Enable Enterprise enrollment on desktop builds.
[chromium-blink-merge.git] / chrome / common / extensions / api / file_system_provider_internal.idl
blob30ebbc7ea78b1ff4d2549e78f4b59bfdcbc078eb
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.
5 // Internal, used by fileSystemProvider's custom bindings. These functions are
6 // called when events' callbacks are invoked.
7 [platforms=("chromeos"),
8 implemented_in="chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.h", nodoc]
9 namespace fileSystemProviderInternal {
10 interface Functions {
11 // Internal. Success callback of the <code>onUnmountRequested</code>
12 // event. Must be called when unmounting is completed.
13 static void unmountRequestedSuccess(long fileSystemId,
14 long requestId);
16 // Internal. Error callback of the <code>onUnmountRequested</code>
17 // event. Must be called if unmounting fails.
18 static void unmountRequestedError(
19 long fileSystemId,
20 long requestId,
21 fileSystemProvider.ProviderError error);
23 // Internal. Success callback of the <code>onGetMetadataRequested</code>
24 // event. Must be called if metadata is available.
25 static void getMetadataRequestedSuccess(
26 long fileSystemId,
27 long requestId,
28 fileSystemProvider.EntryMetadata metadata);
30 // Internal. Error callback of the <code>onGetMetadataRequested</code>
31 // event. Must be called when obtaining metadata fails.
32 static void getMetadataRequestedError(
33 long fileSystemId,
34 long requestId,
35 fileSystemProvider.ProviderError error);