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 // fileBrowserPrivate API. | 5 // fileBrowserPrivate 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_browser_pr
ivate_api_functions.h"] | 8 implemented_in="chrome/browser/chromeos/extensions/file_manager/file_browser_pr
ivate_api_functions.h"] |
9 namespace fileBrowserPrivate { | 9 namespace fileBrowserPrivate { |
10 // Type of the mounted volume. | 10 // Type of the mounted volume. |
(...skipping 21 matching lines...) Expand all Loading... |
32 error_path_already_mounted, | 32 error_path_already_mounted, |
33 error_path_not_mounted, | 33 error_path_not_mounted, |
34 error_directory_creation_failed, | 34 error_directory_creation_failed, |
35 error_invalid_mount_options, | 35 error_invalid_mount_options, |
36 error_invalid_unmount_options, | 36 error_invalid_unmount_options, |
37 error_insufficient_permissions, | 37 error_insufficient_permissions, |
38 error_mount_program_not_found, | 38 error_mount_program_not_found, |
39 error_mount_program_failed, | 39 error_mount_program_failed, |
40 error_invalid_device_path, | 40 error_invalid_device_path, |
41 error_unknown_filesystem, | 41 error_unknown_filesystem, |
42 error_unsuported_filesystem, | 42 error_unsupported_filesystem, |
43 error_invalid_archive, | 43 error_invalid_archive, |
44 error_authentication, | 44 error_authentication, |
45 error_path_unmounted | 45 error_path_unmounted |
46 }; | 46 }; |
47 | 47 |
48 // File transfer progress state. | 48 // File transfer progress state. |
49 enum TransferState { started, in_progress, completed, failed }; | 49 enum TransferState { started, in_progress, completed, failed }; |
50 | 50 |
51 // Defines file transfer direction. | 51 // Defines file transfer direction. |
52 enum TransferType { upload, download }; | 52 enum TransferType { upload, download }; |
(...skipping 766 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
819 static void onDriveSyncError(DriveSyncErrorEvent event); | 819 static void onDriveSyncError(DriveSyncErrorEvent event); |
820 | 820 |
821 // Dispatched when a profile is added. | 821 // Dispatched when a profile is added. |
822 static void onProfileAdded(); | 822 static void onProfileAdded(); |
823 | 823 |
824 // Dispatched when any window moves another desktop. | 824 // Dispatched when any window moves another desktop. |
825 // TODO(hirono): Add information which window is moved. | 825 // TODO(hirono): Add information which window is moved. |
826 static void onDesktopChanged(); | 826 static void onDesktopChanged(); |
827 }; | 827 }; |
828 }; | 828 }; |
OLD | NEW |