| Index: chrome/common/extensions/api/file_browser_private.idl
|
| diff --git a/chrome/common/extensions/api/file_browser_private.idl b/chrome/common/extensions/api/file_browser_private.idl
|
| index 0f398e7cd9b86c8cb5c6a5a288108e09d49ffcfb..aa029c2058ee30214b5719e3cfa09c9d24c7d5c6 100644
|
| --- a/chrome/common/extensions/api/file_browser_private.idl
|
| +++ b/chrome/common/extensions/api/file_browser_private.idl
|
| @@ -100,6 +100,12 @@ enum DeviceEventType {
|
| format_fail
|
| };
|
|
|
| +// Drive sync error type.
|
| +enum DriveSyncErrorType {
|
| + // Request to delete a file without permission.
|
| + delete_without_permission
|
| +};
|
| +
|
| // A file task represents an action that the file manager can perform over the
|
| // currently selected files. See
|
| // chrome/browser/chromeos/extensions/file_manager/file_tasks.h for details
|
| @@ -232,6 +238,10 @@ dictionary FileTransferStatus {
|
| double? total;
|
| };
|
|
|
| +dictionary DriveSyncErrorEvent {
|
| + DriveSyncErrorType type;
|
| +};
|
| +
|
| // Payload data for copy status progress updates.
|
| dictionary CopyProgressStatus {
|
| // The type of the progress event.
|
| @@ -668,5 +678,7 @@ interface Events {
|
| static void onDriveConnectionStatusChanged();
|
|
|
| static void onDeviceChanged(DeviceEvent event);
|
| +
|
| + static void onDriveSyncError(DriveSyncErrorEvent event);
|
| };
|
| };
|
|
|