diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:35:37 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:35:37 +0000 |
commit | a90a5cba08fdf6c0ceb95101c275108a152a3aed (patch) | |
tree | 532507288f3defd7f4dcf1af49698bcb76034855 /storage/mozIStorageAsyncConnection.idl | |
parent | Adding debian version 126.0.1-1. (diff) | |
download | firefox-a90a5cba08fdf6c0ceb95101c275108a152a3aed.tar.xz firefox-a90a5cba08fdf6c0ceb95101c275108a152a3aed.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.idl | 10 |
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); }; |