Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8715)

Unified Diff: chrome/common/extensions/api/file_browser_private.idl

Issue 490643005: Files.app: Start to use DeviceEventRouter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 5efd19a0ac36f09309a49dc99d86d6766e0ea809..91e0d1cd3ede323e5671927fddef9bc6a4e0dc93 100644
--- a/chrome/common/extensions/api/file_browser_private.idl
+++ b/chrome/common/extensions/api/file_browser_private.idl
@@ -98,14 +98,12 @@ enum InspectionType {
// Device event type.
enum DeviceEventType {
- // Device is added.
- added,
- // If the device is disabled by preference, the disabled event is published
- // instead of the added event.
+ // Device scan is started.
+ scan_started,
+ // Device scan is cancelled.
+ scan_cancelled,
+ // If the device is disabled by preference.
disabled,
- // Device is added, but scan for the device is canceled. The event is
- // published after the added event.
- scan_canceled,
// Device is removed.
removed,
// Device is hard unplugged.
@@ -299,10 +297,7 @@ dictionary MountCompletedEvent {
// Metadata of the mounted volume.
VolumeMetadata volumeMetadata;
- // Whether it is remount or not.
- boolean isRemounting;
-
- // Whether the volume should be opend by Files.app or not.
+ // Whether the volume event should be notified or not.
boolean shouldNotify;
};

Powered by Google App Engine
This is Rietveld 408576698