Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 // fileManagerPrivate API. | 5 // fileManagerPrivate API. |
| 6 // This is a private API used by the file browser of ChromeOS. | 6 // This is a private API used by the file browser of ChromeOS. |
| 7 [platforms=("chromeos"), | 7 [platforms=("chromeos"), |
| 8 implemented_in="chrome/browser/chromeos/extensions/file_manager/file_manager_pr ivate_api_functions.h"] | 8 implemented_in="chrome/browser/chromeos/extensions/file_manager/file_manager_pr ivate_api_functions.h"] |
| 9 namespace fileManagerPrivate { | 9 namespace fileManagerPrivate { |
| 10 // Type of the mounted volume. | 10 // Type of the mounted volume. |
| (...skipping 904 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 915 // Requests configuring an existing volume. If not possible, then returns | 915 // Requests configuring an existing volume. If not possible, then returns |
| 916 // an error via chrome.runtime.lastError. | 916 // an error via chrome.runtime.lastError. |
| 917 static void configureVolume(DOMString volumeId, SimpleCallback callback); | 917 static void configureVolume(DOMString volumeId, SimpleCallback callback); |
| 918 }; | 918 }; |
| 919 | 919 |
| 920 interface Events { | 920 interface Events { |
| 921 static void onMountCompleted(MountCompletedEvent event); | 921 static void onMountCompleted(MountCompletedEvent event); |
| 922 | 922 |
| 923 static void onFileTransfersUpdated(FileTransferStatus event); | 923 static void onFileTransfersUpdated(FileTransferStatus event); |
| 924 | 924 |
| 925 static void onCopyError(long copyId, DOMString sourceURL, DOMString destionati onURL); | |
|
mtomasz
2015/06/20 02:42:56
nit: This line seems to long. Can we wrap?
| |
| 926 | |
| 925 static void onCopyProgress(long copyId, CopyProgressStatus status); | 927 static void onCopyProgress(long copyId, CopyProgressStatus status); |
|
mtomasz
2015/06/20 02:42:56
CopyProgressStatus already passes an error. Why do
yawano
2015/06/22 02:28:27
Thank you! CopyProgressStatus event is enough. I'l
| |
| 926 | 928 |
| 927 static void onDirectoryChanged(FileWatchEvent event); | 929 static void onDirectoryChanged(FileWatchEvent event); |
| 928 | 930 |
| 929 static void onPreferencesChanged(); | 931 static void onPreferencesChanged(); |
| 930 | 932 |
| 931 static void onDriveConnectionStatusChanged(); | 933 static void onDriveConnectionStatusChanged(); |
| 932 | 934 |
| 933 static void onDeviceChanged(DeviceEvent event); | 935 static void onDeviceChanged(DeviceEvent event); |
| 934 | 936 |
| 935 static void onDriveSyncError(DriveSyncErrorEvent event); | 937 static void onDriveSyncError(DriveSyncErrorEvent event); |
| 936 }; | 938 }; |
| 937 }; | 939 }; |
| OLD | NEW |