| 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 use_movable_types=true] |
| 9 namespace fileManagerPrivate { | 10 namespace fileManagerPrivate { |
| 10 // Type of the mounted volume. | 11 // Type of the mounted volume. |
| 11 enum VolumeType { drive, downloads, removable, archive, provided, mtp, | 12 enum VolumeType { drive, downloads, removable, archive, provided, mtp, |
| 12 testing }; | 13 testing }; |
| 13 | 14 |
| 14 // Device type. Available if this is removable volume. | 15 // Device type. Available if this is removable volume. |
| 15 enum DeviceType { usb, sd, optical, mobile, unknown }; | 16 enum DeviceType { usb, sd, optical, mobile, unknown }; |
| 16 | 17 |
| 17 // Additional data about mount, for example, that the filesystem is not | 18 // Additional data about mount, for example, that the filesystem is not |
| 18 // supported. | 19 // supported. |
| (...skipping 950 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 969 | 970 |
| 970 static void onPreferencesChanged(); | 971 static void onPreferencesChanged(); |
| 971 | 972 |
| 972 static void onDriveConnectionStatusChanged(); | 973 static void onDriveConnectionStatusChanged(); |
| 973 | 974 |
| 974 static void onDeviceChanged(DeviceEvent event); | 975 static void onDeviceChanged(DeviceEvent event); |
| 975 | 976 |
| 976 static void onDriveSyncError(DriveSyncErrorEvent event); | 977 static void onDriveSyncError(DriveSyncErrorEvent event); |
| 977 }; | 978 }; |
| 978 }; | 979 }; |
| OLD | NEW |