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. |
11 enum VolumeType { drive, downloads, removable, archive }; | 11 enum VolumeType { drive, downloads, removable, archive, privet }; |
12 | 12 |
13 // Device type. Available if this is removable volume. | 13 // Device type. Available if this is removable volume. |
14 enum DeviceType { usb, sd, optical, mobile, unknown }; | 14 enum DeviceType { usb, sd, optical, mobile, unknown }; |
15 | 15 |
16 // Additional data about mount, for example, that the filesystem is not | 16 // Additional data about mount, for example, that the filesystem is not |
17 // supported. | 17 // supported. |
18 enum MountCondition { unknown, unsupported }; | 18 enum MountCondition { unknown, unsupported }; |
19 | 19 |
20 // Is the event raised for mounting or unmounting. | 20 // Is the event raised for mounting or unmounting. |
21 enum MountCompletedEventType { mount, unmount }; | 21 enum MountCompletedEventType { mount, unmount }; |
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
632 | 632 |
633 static void onCopyProgress(long copyId, CopyProgressStatus status); | 633 static void onCopyProgress(long copyId, CopyProgressStatus status); |
634 | 634 |
635 static void onDirectoryChanged(FileWatchEvent event); | 635 static void onDirectoryChanged(FileWatchEvent event); |
636 | 636 |
637 static void onPreferencesChanged(); | 637 static void onPreferencesChanged(); |
638 | 638 |
639 static void onDriveConnectionStatusChanged(); | 639 static void onDriveConnectionStatusChanged(); |
640 }; | 640 }; |
641 }; | 641 }; |
OLD | NEW |