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

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

Issue 133463003: Media Galleries API Scanning: Add Scan Permission and basic test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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/media_galleries.idl
diff --git a/chrome/common/extensions/api/media_galleries.idl b/chrome/common/extensions/api/media_galleries.idl
index 5e8fd23121af91bdc572da06e3cc9fd7768e54e2..9e460d12c5e36f4e6855950c877f7fdda33adc44 100644
--- a/chrome/common/extensions/api/media_galleries.idl
+++ b/chrome/common/extensions/api/media_galleries.idl
@@ -30,7 +30,9 @@ namespace mediaGalleries {
cancel,
// The scan finished but none of the result have been added,
// addScanResults() has to be called to ask the user for permission.
- finish
+ finish,
+ // The scan encountered an error and could not proceed.
+ error
};
[inline_doc] dictionary MediaFileSystemsDetails {

Powered by Google App Engine
This is Rietveld 408576698