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