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

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

Issue 824753003: [fsp] Wire limiting number of opened files to FSP API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed. Created 5 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/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 2d1187ff016c1cfde3b531c27fd4b0ed43f7e9db..ee13bd8c63088158b6cfa10295e84f0332bff629 100644
--- a/chrome/common/extensions/api/file_system_provider.idl
+++ b/chrome/common/extensions/api/file_system_provider.idl
@@ -110,6 +110,10 @@ namespace fileSystemProvider {
// of the file system (such as creating, deleting or writing to files).
boolean? writable;
+ // The maximum number of files that can be opened at once. If not specified,
+ // then not limited.
+ long? openedFilesLimit;
+
// Whether the file system supports the <code>tag</code> field for observed
// directories. Required in order to enable the internal cache.
[nodoc] boolean? supportsNotifyTag;
@@ -503,7 +507,8 @@ namespace fileSystemProvider {
ProviderErrorCallback errorCallback);
// Raised when opening a file at <code>filePath</code> is requested. If the
- // file does not exist, then the operation must fail.
+ // file does not exist, then the operation must fail. Maximum number of
+ // files opened at once can be specified with <code>MountOptions</code>.
[maxListeners=1] static void onOpenFileRequested(
OpenFileRequestedOptions options,
ProviderSuccessCallback successCallback,

Powered by Google App Engine
This is Rietveld 408576698