Bug 1889895 - Convert all usages of bool in IDL files with boolean. rs=bustage-fix

--HG--
extra : absorb_source : 2753868132828058fd86f4ef927d285ae792feac
This commit is contained in:
Martin Giger 2024-04-05 12:06:39 +02:00
Родитель 0c79ea3bf4
Коммит 15e56c1ccb
12 изменённых файлов: 17 добавлений и 17 удалений

Просмотреть файл

@ -36,7 +36,7 @@ interface nsIAbAutoCompleteResult : nsIAutoCompleteResult {
* trigger a new query, instead simply filtering the previous results.
* If false, the directory will be present in asyncDirectories.
*/
bool isCompleteResult(in long index);
boolean isCompleteResult(in long index);
/**
* The template used to build the query for this search. Optional.

Просмотреть файл

@ -36,5 +36,5 @@ interface nsIAbDirSearchListener : nsISupports {
* @param location If status is an NSS error code, this holds the location
* of the failed operation ("<host>:<port>").
*/
void onSearchFinished(in nsresult status, in bool complete, in nsITransportSecurityInfo secInfo, in ACString location);
void onSearchFinished(in nsresult status, in boolean complete, in nsITransportSecurityInfo secInfo, in ACString location);
};

Просмотреть файл

@ -37,7 +37,7 @@ interface msgIOAuth2Module : nsISupports {
* be found among the known OAuth2 providers using the server's hostname,
* this config is used instead and stored in the server's prefs.
*/
bool initFromSmtp(in nsISmtpServer aSmtpServer);
boolean initFromSmtp(in nsISmtpServer aSmtpServer);
/**
* Initialize the OAuth2 parameters from an incoming server, and return
@ -47,13 +47,13 @@ interface msgIOAuth2Module : nsISupports {
* be found among the known OAuth2 providers using the server's hostname,
* this config is used instead and stored in the server's prefs.
*/
bool initFromMail(in nsIMsgIncomingServer aServer);
boolean initFromMail(in nsIMsgIncomingServer aServer);
/**
* Initialize the OAuth2 parameters using the provided hostname and username,
* and return whether or not we can authenticate with OAuth2.
*/
bool initFromHostname(in AUTF8String aHostname, in AUTF8String aUsername);
boolean initFromHostname(in AUTF8String aHostname, in AUTF8String aUsername);
/**
* Connect to the OAuth2 server to get an access token encoded for use with

Просмотреть файл

@ -107,7 +107,7 @@ interface nsIMsgIncomingServer : nsISupports {
// Perform specific tasks (reset flags, remove files, etc) for account user/server name changes.
void onUserOrHostNameChanged(in AUTF8String oldName, in AUTF8String newName,
in bool hostnameChanged);
in boolean hostnameChanged);
/// cleartext utf16 version of the password
attribute AString password;

Просмотреть файл

@ -19,7 +19,7 @@ interface nsIMsgCompFields : msgIWritableStructuredHeaders {
attribute AString to;
attribute AString cc;
attribute AString bcc;
readonly attribute bool hasRecipients;
readonly attribute boolean hasRecipients;
attribute AString fcc;
attribute AString fcc2;

Просмотреть файл

@ -20,7 +20,7 @@ interface nsIMsgQuote : nsISupports {
*/
void quoteMessage(in AUTF8String msgURI, in boolean quoteHeaders,
in nsIMsgQuotingOutputStreamListener streamListener,
in bool autodetectCharset, in boolean headersOnly,
in boolean autodetectCharset, in boolean headersOnly,
in nsIMsgDBHdr aOrigHdr);
readonly attribute nsIMimeStreamConverterListener quoteListener;

Просмотреть файл

@ -17,12 +17,12 @@ interface nsICMSSecureMessage : nsISupports
/**
* Return true if the certificate can be used for encrypting emails.
*/
bool canBeUsedForEmailEncryption(in nsIX509Cert cert);
boolean canBeUsedForEmailEncryption(in nsIX509Cert cert);
/**
* Return true if the certificate can be used for signing emails.
*/
bool canBeUsedForEmailSigning(in nsIX509Cert cert);
boolean canBeUsedForEmailSigning(in nsIX509Cert cert);
};
%{C++

Просмотреть файл

@ -19,7 +19,7 @@ interface nsIImapOfflineSync : nsISupports {
void init(in nsIMsgWindow window,
in nsIUrlListener listener,
in nsIMsgFolder folder,
in bool isPseudoOffline);
in boolean isPseudoOffline);
void processNextOperation();
};

Просмотреть файл

@ -13,7 +13,7 @@ interface nsINewsBlogFeedDownloader : nsISupports
{
void downloadFeed(in nsIMsgFolder aFolder,
in nsIUrlListener aUrlListener,
in bool aIsBiff,
in boolean aIsBiff,
in nsIMsgWindow aMsgWindow);
/**

Просмотреть файл

@ -48,7 +48,7 @@ interface msgIStructuredHeaders : nsISupports {
*
* @param aHeaderName The name of the header to retrieve.
*/
bool hasHeader(in string aHeaderName);
boolean hasHeader(in string aHeaderName);
/**
* Retrieve the value of the header as if it is an unstructured header. Such

Просмотреть файл

@ -91,7 +91,7 @@ interface nsIMsgHeaderParser : nsISupports {
*/
Array<msgIAddressObject> parseEncodedHeader(in ACString aEncodedHeader,
[optional] in string aHeaderCharset,
[optional] in bool aPreserveGroups);
[optional] in boolean aPreserveGroups);
/**
* Parse an address-based header that has not yet been 2047-decoded and does not
@ -115,7 +115,7 @@ interface nsIMsgHeaderParser : nsISupports {
* @return An array corresponding to the header description.
*/
Array<msgIAddressObject> parseDecodedHeader(in AString aDecodedHeader,
[optional] in bool aPreserveGroups);
[optional] in boolean aPreserveGroups);
/**
* Given an array of addresses, make a MIME header suitable for emission.

Просмотреть файл

@ -75,8 +75,8 @@ interface nsIMsgNewsFolder : nsISupports {
* is wanted, it is the responsibility of the caller to manage it explicitly
* with nsIMsgAsyncPrompter.
*/
bool getAuthenticationCredentials(in nsIMsgWindow aMsgWindow,
in bool mayPrompt, in bool mustPrompt);
boolean getAuthenticationCredentials(in nsIMsgWindow aMsgWindow,
in boolean mayPrompt, in boolean mustPrompt);
/// The username that should be used for this group
attribute ACString groupUsername;