Chromium Code Reviews| Index: chrome/common/extensions/api/file_system_provider_internal.idl |
| diff --git a/chrome/common/extensions/api/file_system_provider_internal.idl b/chrome/common/extensions/api/file_system_provider_internal.idl |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..7042897d5244e99a4a2cda16579c4be9360f74c0 |
| --- /dev/null |
| +++ b/chrome/common/extensions/api/file_system_provider_internal.idl |
| @@ -0,0 +1,26 @@ |
| +// Copyright 2013 The Chromium Authors. All rights reserved. |
|
benwells
2014/03/30 22:37:07
Nit: 2014
|
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +// Internal, used by fileSystemProvider's custom bindings. These functions are |
| +// called when events' callbacks are invoked. |
| +[platforms=("chromeos"), |
| + implemented_in="chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.h"] |
| +namespace fileSystemProviderInternal { |
| + interface Functions { |
| + // Internal. Success callback of the <code>onUnmountRequested</code> |
| + // event. Must be called when unmounting is completed. |
| + static void unmountRequestedSuccess(long fileSystemId, |
| + long requestId); |
| + |
| + // Internal. Error callback of the <code>onUnmountRequested</code> |
| + // event. Must be called if unmounting fails. |
| + static void unmountRequestedError( |
| + long fileSystemId, |
| + long requestId, |
| + // TODO(mtomasz): Use FileSystemProvider::ProviderError when namespaces |
| + // are fully implemented in IDL. |
| + DOMString error); |
| + }; |
| +}; |
| + |