summaryrefslogtreecommitdiffstats
path: root/storage/mozIStorageAsyncConnection.idl
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
commit8dd16259287f58f9273002717ec4d27e97127719 (patch)
tree3863e62a53829a84037444beab3abd4ed9dfc7d0 /storage/mozIStorageAsyncConnection.idl
parentReleasing progress-linux version 126.0.1-1~progress7.99u1. (diff)
downloadfirefox-8dd16259287f58f9273002717ec4d27e97127719.tar.xz
firefox-8dd16259287f58f9273002717ec4d27e97127719.zip
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'storage/mozIStorageAsyncConnection.idl')
-rw-r--r--storage/mozIStorageAsyncConnection.idl10
1 files changed, 9 insertions, 1 deletions
diff --git a/storage/mozIStorageAsyncConnection.idl b/storage/mozIStorageAsyncConnection.idl
index 767f5232d0..7fca212dca 100644
--- a/storage/mozIStorageAsyncConnection.idl
+++ b/storage/mozIStorageAsyncConnection.idl
@@ -395,6 +395,12 @@ interface mozIStorageAsyncConnection : nsISupports {
* - status: the status of the operation, use this to check if making
* the copy was successful.
* - value: unused.
+ * @param [aPagesPerStep=5]
+ * The number of pages in the database to copy per step. Defaults to 5
+ * if omitted or set to 0.
+ * @param [aStepDelayMs=250]
+ * The number of milliseconds to wait between each step. Defaults to
+ * 250 if omitted or set to 0.
* @throws NS_ERROR_ABORT
* If the application has begun the process of shutting down already.
* @throws NS_ERROR_NOT_INITIALIZED
@@ -405,5 +411,7 @@ interface mozIStorageAsyncConnection : nsISupports {
* If the execution thread cannot be acquired.
*/
void backupToFileAsync(in nsIFile aDestinationFile,
- in mozIStorageCompletionCallback aCallback);
+ in mozIStorageCompletionCallback aCallback,
+ [optional] in unsigned long aPagesPerStep,
+ [optional] in unsigned long aStepDelayMs);
};