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