Chromium Code Reviews| 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 namespace fileManagerPrivate { | 9 namespace fileManagerPrivate { |
| 10 // Type of the mounted volume. | 10 // Type of the mounted volume. |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 272 // Path to identify the device. This is consistent with DeviceEvent's | 272 // Path to identify the device. This is consistent with DeviceEvent's |
| 273 // devicePath. | 273 // devicePath. |
| 274 DOMString? devicePath; | 274 DOMString? devicePath; |
| 275 | 275 |
| 276 // Whether the device is parent or not (i.e. sdb rather than sdb1). | 276 // Whether the device is parent or not (i.e. sdb rather than sdb1). |
| 277 boolean? isParentDevice; | 277 boolean? isParentDevice; |
| 278 | 278 |
| 279 // Flag that specifies if volume is mounted in read-only mode. | 279 // Flag that specifies if volume is mounted in read-only mode. |
| 280 boolean isReadOnly; | 280 boolean isReadOnly; |
| 281 | 281 |
| 282 // Flag that specifies whether the volume contains media. | |
|
Steve McKay
2014/10/22 02:16:00
So what this is doing is exposing an existing "has
| |
| 283 boolean hasMedia; | |
| 284 | |
| 282 // Additional data about mount, for example, that the filesystem is not | 285 // Additional data about mount, for example, that the filesystem is not |
| 283 // supported. | 286 // supported. |
| 284 MountCondition? mountCondition; | 287 MountCondition? mountCondition; |
| 285 }; | 288 }; |
| 286 | 289 |
| 287 // Payload data for mount event. | 290 // Payload data for mount event. |
| 288 dictionary MountCompletedEvent { | 291 dictionary MountCompletedEvent { |
| 289 // Is the event raised for mounting or unmounting. | 292 // Is the event raised for mounting or unmounting. |
| 290 MountCompletedEventType eventType; | 293 MountCompletedEventType eventType; |
| 291 | 294 |
| (...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 803 | 806 |
| 804 static void onPreferencesChanged(); | 807 static void onPreferencesChanged(); |
| 805 | 808 |
| 806 static void onDriveConnectionStatusChanged(); | 809 static void onDriveConnectionStatusChanged(); |
| 807 | 810 |
| 808 static void onDeviceChanged(DeviceEvent event); | 811 static void onDeviceChanged(DeviceEvent event); |
| 809 | 812 |
| 810 static void onDriveSyncError(DriveSyncErrorEvent event); | 813 static void onDriveSyncError(DriveSyncErrorEvent event); |
| 811 }; | 814 }; |
| 812 }; | 815 }; |
| OLD | NEW |