summaryrefslogtreecommitdiffstats
path: root/storage/mozIStorageAsyncConnection.idl
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:29 +0000
commit59203c63bb777a3bacec32fb8830fba33540e809 (patch)
tree58298e711c0ff0575818c30485b44a2f21bf28a0 /storage/mozIStorageAsyncConnection.idl
parentAdding upstream version 126.0.1. (diff)
downloadfirefox-59203c63bb777a3bacec32fb8830fba33540e809.tar.xz
firefox-59203c63bb777a3bacec32fb8830fba33540e809.zip
Adding upstream version 127.0.upstream/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);
};