зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1118609 - Mark virtual overridden functions as MOZ_OVERRIDE in dom/storage; r=baku
This commit is contained in:
Родитель
f7f7a319f9
Коммит
881f4d3f00
|
@ -247,7 +247,7 @@ class DOMStorageCacheHolder : public nsITimerCallback
|
||||||
NS_DECL_ISUPPORTS
|
NS_DECL_ISUPPORTS
|
||||||
|
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
Notify(nsITimer* aTimer)
|
Notify(nsITimer* aTimer) MOZ_OVERRIDE
|
||||||
{
|
{
|
||||||
mCache = nullptr;
|
mCache = nullptr;
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
|
|
|
@ -174,19 +174,19 @@ public:
|
||||||
private:
|
private:
|
||||||
// IPC
|
// IPC
|
||||||
virtual void ActorDestroy(ActorDestroyReason aWhy) MOZ_OVERRIDE;
|
virtual void ActorDestroy(ActorDestroyReason aWhy) MOZ_OVERRIDE;
|
||||||
bool RecvAsyncPreload(const nsCString& aScope, const bool& aPriority);
|
bool RecvAsyncPreload(const nsCString& aScope, const bool& aPriority) MOZ_OVERRIDE;
|
||||||
bool RecvPreload(const nsCString& aScope, const uint32_t& aAlreadyLoadedCount,
|
bool RecvPreload(const nsCString& aScope, const uint32_t& aAlreadyLoadedCount,
|
||||||
InfallibleTArray<nsString>* aKeys, InfallibleTArray<nsString>* aValues,
|
InfallibleTArray<nsString>* aKeys, InfallibleTArray<nsString>* aValues,
|
||||||
nsresult* aRv);
|
nsresult* aRv) MOZ_OVERRIDE;
|
||||||
bool RecvAsyncGetUsage(const nsCString& aScope);
|
bool RecvAsyncGetUsage(const nsCString& aScope) MOZ_OVERRIDE;
|
||||||
bool RecvAsyncAddItem(const nsCString& aScope, const nsString& aKey, const nsString& aValue);
|
bool RecvAsyncAddItem(const nsCString& aScope, const nsString& aKey, const nsString& aValue) MOZ_OVERRIDE;
|
||||||
bool RecvAsyncUpdateItem(const nsCString& aScope, const nsString& aKey, const nsString& aValue);
|
bool RecvAsyncUpdateItem(const nsCString& aScope, const nsString& aKey, const nsString& aValue) MOZ_OVERRIDE;
|
||||||
bool RecvAsyncRemoveItem(const nsCString& aScope, const nsString& aKey);
|
bool RecvAsyncRemoveItem(const nsCString& aScope, const nsString& aKey) MOZ_OVERRIDE;
|
||||||
bool RecvAsyncClear(const nsCString& aScope);
|
bool RecvAsyncClear(const nsCString& aScope) MOZ_OVERRIDE;
|
||||||
bool RecvAsyncFlush();
|
bool RecvAsyncFlush() MOZ_OVERRIDE;
|
||||||
|
|
||||||
// DOMStorageObserverSink
|
// DOMStorageObserverSink
|
||||||
virtual nsresult Observe(const char* aTopic, const nsACString& aScopePrefix);
|
virtual nsresult Observe(const char* aTopic, const nsACString& aScopePrefix) MOZ_OVERRIDE;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
CacheParentBridge* NewCache(const nsACString& aScope);
|
CacheParentBridge* NewCache(const nsACString& aScope);
|
||||||
|
|
|
@ -46,7 +46,7 @@ protected:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// DOMStorageObserverSink, handler to various chrome clearing notification
|
// DOMStorageObserverSink, handler to various chrome clearing notification
|
||||||
virtual nsresult Observe(const char* aTopic, const nsACString& aScopePrefix);
|
virtual nsresult Observe(const char* aTopic, const nsACString& aScopePrefix) MOZ_OVERRIDE;
|
||||||
|
|
||||||
// Since nsTHashtable doesn't like multiple inheritance, we have to aggregate
|
// Since nsTHashtable doesn't like multiple inheritance, we have to aggregate
|
||||||
// DOMStorageCache into the entry.
|
// DOMStorageCache into the entry.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче