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

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

Issue 1127273004: Update documentation for "file_system_provider" manifest section. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed + merged with 1084283004 Created 5 years, 7 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_system_provider.idl
diff --git a/chrome/common/extensions/api/file_system_provider.idl b/chrome/common/extensions/api/file_system_provider.idl
index dea956abb9f8cfd20b29c3a824246acb9878a87e..8860aa8b3dc758360995534a707f8dd02d5c2b82 100644
--- a/chrome/common/extensions/api/file_system_provider.idl
+++ b/chrome/common/extensions/api/file_system_provider.idl
@@ -413,7 +413,7 @@ namespace fileSystemProvider {
};
// Options for the <code>onConfigureRequested()</code> event.
- [nodoc] dictionary ConfigureRequestedOptions {
+ dictionary ConfigureRequestedOptions {
// The identifier of the file system to be configured.
DOMString fileSystemId;
@@ -488,7 +488,7 @@ namespace fileSystemProvider {
static void get(DOMString fileSystemId, GetCallback callback);
// Notifies about changes in the watched directory at <code>
- // observedPath</code> in <code>recursive</code mode. If the file system is
+ // observedPath</code> in <code>recursive</code> mode. If the file system is
// mounted with <code>supportsNofityTag</code>, then <code>tag</code> must
// be provided, and all changes since the last notification always reported,
// even if the system was shutdown. The last tag can be obtained with <code>
@@ -637,8 +637,10 @@ namespace fileSystemProvider {
ProviderErrorCallback errorCallback);
// Raised when showing a configuration dialog for <code>fileSystemId</code>
- // is requested. If it's not supported, then this event must not be handled.
- [maxListeners=1, nodoc] static void onConfigureRequested(
+ // is requested. If it's handled, the <code>
+ // file_system_provider.configurable</code> manfiest option must be set to
+ // true.
+ [maxListeners=1] static void onConfigureRequested(
ConfigureRequestedOptions options,
ProviderSuccessCallback successCallback,
ProviderErrorCallback errorCallback);
@@ -646,8 +648,10 @@ namespace fileSystemProvider {
// Raised when showing a dialog for mounting a new file system is requested.
// If the extension/app is a file handler, then this event shouldn't be
// handled. Instead <code>onLaunched</code> should be handled in order to
- // mount new file systems when a file is opened.
- [maxListeners=1, nodoc] static void onMountRequested(
+ // mount new file systems when a file is opened. For multiple mounts, the
+ // <code>file_system_provider.multiple_mounts</code> manifest option must
+ // be set to true.
+ [maxListeners=1] static void onMountRequested(
ProviderSuccessCallback successCallback,
ProviderErrorCallback errorCallback);
« no previous file with comments | « no previous file | chrome/common/extensions/api/manifest_types.json » ('j') | chrome/common/extensions/api/manifest_types.json » ('J')

Powered by Google App Engine
This is Rietveld 408576698