Chromium Code Reviews| 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 1ecf38bd99d3edb2df3a4449104fc22f69114da6..6341e2057213573581e14fc9d565b9e908e2f187 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 |
| @@ -245,6 +251,10 @@ dictionary FileTransferStatus { |
| double? total; |
| }; |
| +dictionary DriveSyncErrorEvent { |
| + DriveSyncErrorType type; |
|
benwells
2014/01/15 22:38:50
Are you envisioning more fields here? Seems like i
hirono
2014/01/16 02:34:35
Yes, I'm planning add more error types in the futu
|
| +}; |
| + |
| // Payload data for copy status progress updates. |
| dictionary CopyProgressStatus { |
| // The type of the progress event. |
| @@ -681,5 +691,7 @@ interface Events { |
| static void onDriveConnectionStatusChanged(); |
| static void onDeviceChanged(DeviceEvent event); |
| + |
| + static void onDriveSyncError(DriveSyncErrorEvent event); |
| }; |
| }; |