mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 842828: Mark attributes of nsIApplicationReputationQuery as readonly, remove unused field (r=mossop)
This commit is contained in:
parent
62cd48c21c
commit
92d19af51a
@ -43,12 +43,12 @@ interface nsIApplicationReputationService : nsISupports {
|
||||
* downloaded file. nsIApplicationReputationService.Start() may only be called
|
||||
* once with a single query.
|
||||
*/
|
||||
[scriptable, uuid(857da2c0-cfe5-11e2-8b8b-0800200c9a66)]
|
||||
[scriptable, uuid(5a054991-e489-4a1c-a0aa-ea7c69b20e3d)]
|
||||
interface nsIApplicationReputationQuery : nsISupports {
|
||||
/*
|
||||
* The nsIURI from which the file was downloaded. This may not be null.
|
||||
*/
|
||||
attribute nsIURI sourceURI;
|
||||
readonly attribute nsIURI sourceURI;
|
||||
|
||||
/*
|
||||
* The target filename for the downloaded file, as inferred from the source
|
||||
@ -56,24 +56,19 @@ interface nsIApplicationReputationQuery : nsISupports {
|
||||
* is not set by the caller, it will be passed as an empty string but the
|
||||
* query won't produce any useful information.
|
||||
*/
|
||||
attribute AString suggestedFileName;
|
||||
readonly attribute AString suggestedFileName;
|
||||
|
||||
/*
|
||||
* The size of the downloaded file in bytes.
|
||||
*/
|
||||
attribute unsigned long fileSize;
|
||||
readonly attribute unsigned long fileSize;
|
||||
|
||||
/*
|
||||
* The SHA256 hash of the downloaded file in raw bytes. If this is not set by
|
||||
* the caller, it will be passed as an empty string but the query won't
|
||||
* produce any useful information.
|
||||
*/
|
||||
attribute ACString sha256Hash;
|
||||
|
||||
/**
|
||||
* The callback object listening to this query.
|
||||
*/
|
||||
attribute nsIApplicationReputationCallback callback;
|
||||
readonly attribute ACString sha256Hash;
|
||||
};
|
||||
|
||||
[scriptable, function, uuid(9a228470-cfe5-11e2-8b8b-0800200c9a66)]
|
||||
|
Loading…
Reference in New Issue
Block a user