mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
Bug 1711090 - Part 3: Add some missing nsITimerCallback queryinterface targets, r=KrisWright,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D115108
This commit is contained in:
parent
3d32bd50a0
commit
461b98ded0
@ -30,6 +30,7 @@ NS_IMPL_RELEASE(MaybeCloseWindowHelper)
|
||||
|
||||
NS_INTERFACE_MAP_BEGIN(MaybeCloseWindowHelper)
|
||||
NS_INTERFACE_MAP_ENTRY(nsISupports)
|
||||
NS_INTERFACE_MAP_ENTRY(nsITimerCallback)
|
||||
NS_INTERFACE_MAP_END
|
||||
|
||||
MaybeCloseWindowHelper::MaybeCloseWindowHelper(BrowsingContext* aContentContext)
|
||||
|
@ -361,7 +361,8 @@ class EventSourceImpl final : public nsIObserver,
|
||||
NS_IMPL_ISUPPORTS(EventSourceImpl, nsIObserver, nsIStreamListener,
|
||||
nsIRequestObserver, nsIChannelEventSink,
|
||||
nsIInterfaceRequestor, nsISupportsWeakReference,
|
||||
nsIEventTarget, nsIThreadRetargetableStreamListener)
|
||||
nsIEventTarget, nsIThreadRetargetableStreamListener,
|
||||
nsITimerCallback)
|
||||
|
||||
EventSourceImpl::EventSourceImpl(EventSource* aEventSource,
|
||||
nsICookieJarSettings* aCookieJarSettings)
|
||||
|
@ -26,8 +26,9 @@
|
||||
namespace mozilla::dom {
|
||||
|
||||
NS_IMPL_CYCLE_COLLECTION_INHERITED(MediaController, DOMEventTargetHelper)
|
||||
NS_IMPL_ISUPPORTS_CYCLE_COLLECTION_INHERITED_0(MediaController,
|
||||
DOMEventTargetHelper)
|
||||
NS_IMPL_ISUPPORTS_CYCLE_COLLECTION_INHERITED(MediaController,
|
||||
DOMEventTargetHelper,
|
||||
nsITimerCallback)
|
||||
NS_IMPL_CYCLE_COLLECTION_TRACE_BEGIN_INHERITED(MediaController,
|
||||
DOMEventTargetHelper)
|
||||
NS_IMPL_CYCLE_COLLECTION_TRACE_END
|
||||
|
@ -23,7 +23,8 @@
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
||||
NS_IMPL_ISUPPORTS(ServiceWorkerShutdownBlocker, nsIAsyncShutdownBlocker)
|
||||
NS_IMPL_ISUPPORTS(ServiceWorkerShutdownBlocker, nsIAsyncShutdownBlocker,
|
||||
nsITimerCallback)
|
||||
|
||||
NS_IMETHODIMP ServiceWorkerShutdownBlocker::GetName(nsAString& aNameOut) {
|
||||
aNameOut = nsLiteralString(
|
||||
|
@ -49,7 +49,7 @@ extern mozilla::LazyLogModule gHostResolverLog;
|
||||
MOZ_LOG_TEST(mozilla::net::gHostResolverLog, mozilla::LogLevel::Debug)
|
||||
|
||||
NS_IMPL_ISUPPORTS(TRR, nsIHttpPushListener, nsIInterfaceRequestor,
|
||||
nsIStreamListener, nsIRunnable)
|
||||
nsIStreamListener, nsIRunnable, nsITimerCallback)
|
||||
|
||||
// when firing off a normal A or AAAA query
|
||||
TRR::TRR(AHostResolver* aResolver, nsHostRecord* aRec, enum TrrType aType)
|
||||
|
@ -2844,7 +2844,7 @@ nsHttpTransaction::Release() {
|
||||
}
|
||||
|
||||
NS_IMPL_QUERY_INTERFACE(nsHttpTransaction, nsIInputStreamCallback,
|
||||
nsIOutputStreamCallback)
|
||||
nsIOutputStreamCallback, nsITimerCallback)
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// nsHttpTransaction::nsIInputStreamCallback
|
||||
|
@ -85,7 +85,7 @@ static void CFReleaseSafe(CFTypeRef cf) {
|
||||
}
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS(nsNetworkLinkService, nsINetworkLinkService, nsIObserver)
|
||||
NS_IMPL_ISUPPORTS(nsNetworkLinkService, nsINetworkLinkService, nsIObserver, nsITimerCallback)
|
||||
|
||||
nsNetworkLinkService::nsNetworkLinkService()
|
||||
: mLinkUp(true),
|
||||
|
@ -876,7 +876,7 @@ PendingDBLookup::HandleEvent(const nsACString& tables) {
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS(PendingLookup, nsIStreamListener, nsIRequestObserver,
|
||||
nsIObserver, nsISupportsWeakReference)
|
||||
nsIObserver, nsISupportsWeakReference, nsITimerCallback)
|
||||
|
||||
PendingLookup::PendingLookup(nsIApplicationReputationQuery* aQuery,
|
||||
nsIApplicationReputationCallback* aCallback)
|
||||
|
Loading…
Reference in New Issue
Block a user