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

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

Issue 27563002: Adds missing USB events to the imageWriterPrivate API definition. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resync Created 7 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/image_writer_private.idl
diff --git a/chrome/common/extensions/api/image_writer_private.idl b/chrome/common/extensions/api/image_writer_private.idl
index 2dc3e3d07fe0022f8568ff9e33853df7a75b95a0..c60c2a9d73bc73588d17e0930c530015d2a55836 100644
--- a/chrome/common/extensions/api/image_writer_private.idl
+++ b/chrome/common/extensions/api/image_writer_private.idl
@@ -119,12 +119,20 @@
// Fires periodically throughout the writing operation and at least once per
// stage.
static void onWriteProgress(ProgressInfo info);
+
// Fires when the write operation has completely finished, such as all
// devices being finalized and resources released.
static void onWriteComplete();
+
// Fires when an error occured during writing, passing the $ref:ProgressInfo
// of the operation at the time the error occured.
static void onWriteError(ProgressInfo info, DOMString error);
+
+ // Fires when a removable storage device is inserted.
+ static void onDeviceInserted(RemovableStorageDevice device);
+
+ // Fires when a removable storage device is removed.
+ static void onDeviceRemoved(RemovableStorageDevice device);
};
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698