| 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 fileSystemProvider's custom bindings. These functions are | 5 // Internal, used by fileSystemProvider's custom bindings. These functions are |
| 6 // called when events' callbacks are invoked. | 6 // called when events' callbacks are invoked. |
| 7 [implemented_in="chrome/browser/chromeos/extensions/file_system_provider/file_sy
stem_provider_api.h", | 7 [implemented_in="chrome/browser/chromeos/extensions/file_system_provider/file_sy
stem_provider_api.h", |
| 8 nodoc, | 8 nodoc] |
| 9 use_movable_types=true] | |
| 10 namespace fileSystemProviderInternal { | 9 namespace fileSystemProviderInternal { |
| 11 interface Functions { | 10 interface Functions { |
| 12 // Internal. Success callback of the <code>onUnmountRequested</code> | 11 // Internal. Success callback of the <code>onUnmountRequested</code> |
| 13 // event. Must be called when unmounting is completed. | 12 // event. Must be called when unmounting is completed. |
| 14 static void unmountRequestedSuccess( | 13 static void unmountRequestedSuccess( |
| 15 DOMString fileSystemId, | 14 DOMString fileSystemId, |
| 16 long requestId, | 15 long requestId, |
| 17 long executionTime); | 16 long executionTime); |
| 18 | 17 |
| 19 // Internal. Success callback of the <code>onGetMetadataRequested</code> | 18 // Internal. Success callback of the <code>onGetMetadataRequested</code> |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 // Internal. Error callback of all of the operation requests. Must be called | 59 // Internal. Error callback of all of the operation requests. Must be called |
| 61 // if an operation fails. | 60 // if an operation fails. |
| 62 static void operationRequestedError( | 61 static void operationRequestedError( |
| 63 DOMString fileSystemId, | 62 DOMString fileSystemId, |
| 64 long requestId, | 63 long requestId, |
| 65 fileSystemProvider.ProviderError error, | 64 fileSystemProvider.ProviderError error, |
| 66 long executionTime); | 65 long executionTime); |
| 67 }; | 66 }; |
| 68 }; | 67 }; |
| 69 | 68 |
| OLD | NEW |