зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1164292 followup: Add 'override' annotations to BasePrincipal & nsSystemPrincipal GetCsp()/SetCsp() methods. rs=ehsan
This commit is contained in:
Родитель
10fec84bca
Коммит
e2ee3711db
|
@ -23,8 +23,8 @@ class BasePrincipal : public nsJSPrincipals
|
|||
{
|
||||
public:
|
||||
BasePrincipal() {}
|
||||
NS_IMETHOD GetCsp(nsIContentSecurityPolicy** aCsp);
|
||||
NS_IMETHOD SetCsp(nsIContentSecurityPolicy* aCsp);
|
||||
NS_IMETHOD GetCsp(nsIContentSecurityPolicy** aCsp) override;
|
||||
NS_IMETHOD SetCsp(nsIContentSecurityPolicy* aCsp) override;
|
||||
NS_IMETHOD GetIsNullPrincipal(bool* aIsNullPrincipal) override;
|
||||
|
||||
virtual bool IsOnCSSUnprefixingWhitelist() override { return false; }
|
||||
|
|
|
@ -35,8 +35,8 @@ public:
|
|||
NS_IMETHOD Subsumes(nsIPrincipal* other, bool* _retval) override;
|
||||
NS_IMETHOD SubsumesConsideringDomain(nsIPrincipal* other, bool* _retval) override;
|
||||
NS_IMETHOD CheckMayLoad(nsIURI* uri, bool report, bool allowIfInheritsPrincipal) override;
|
||||
NS_IMETHOD GetCsp(nsIContentSecurityPolicy** aCsp);
|
||||
NS_IMETHOD SetCsp(nsIContentSecurityPolicy* aCsp);
|
||||
NS_IMETHOD GetCsp(nsIContentSecurityPolicy** aCsp) override;
|
||||
NS_IMETHOD SetCsp(nsIContentSecurityPolicy* aCsp) override;
|
||||
NS_IMETHOD GetJarPrefix(nsACString& aJarPrefix) override;
|
||||
NS_IMETHOD GetAppStatus(uint16_t* aAppStatus) override;
|
||||
NS_IMETHOD GetAppId(uint32_t* aAppStatus) override;
|
||||
|
|
Загрузка…
Ссылка в новой задаче