diff --git a/docshell/base/nsDocShell.cpp b/docshell/base/nsDocShell.cpp index 8ecacd4b51d6..f9339b17dd03 100644 --- a/docshell/base/nsDocShell.cpp +++ b/docshell/base/nsDocShell.cpp @@ -149,7 +149,6 @@ #include "nsCommandManager.h" #include "nsPIDOMWindow.h" -#include "nsPILoadGroupInternal.h" #include "nsPIWindowRoot.h" #include "IHistory.h" @@ -6693,11 +6692,6 @@ nsresult nsDocShell::EndPageLoad(nsIWebProgress* aProgress, if (NS_SUCCEEDED(rv) && !channelCreationTime.IsNull()) { Telemetry::AccumulateTimeDelta(Telemetry::TOTAL_CONTENT_PAGE_LOAD_TIME, channelCreationTime); - nsCOMPtr internalLoadGroup = - do_QueryInterface(mLoadGroup); - if (internalLoadGroup) { - internalLoadGroup->OnEndPageLoad(aChannel); - } } } diff --git a/netwerk/base/moz.build b/netwerk/base/moz.build index d197ff34f728..07408d4b1db0 100644 --- a/netwerk/base/moz.build +++ b/netwerk/base/moz.build @@ -127,7 +127,6 @@ XPIDL_SOURCES += [ 'nsIURIWithSpecialOrigin.idl', 'nsIURL.idl', 'nsIURLParser.idl', - 'nsPILoadGroupInternal.idl', 'nsPISocketTransportService.idl', ] diff --git a/netwerk/base/nsLoadGroup.cpp b/netwerk/base/nsLoadGroup.cpp index f66e04ef198d..f44a67f49909 100644 --- a/netwerk/base/nsLoadGroup.cpp +++ b/netwerk/base/nsLoadGroup.cpp @@ -117,7 +117,6 @@ nsLoadGroup::~nsLoadGroup() { NS_IMPL_AGGREGATED(nsLoadGroup) NS_INTERFACE_MAP_BEGIN_AGGREGATED(nsLoadGroup) NS_INTERFACE_MAP_ENTRY(nsILoadGroup) - NS_INTERFACE_MAP_ENTRY(nsPILoadGroupInternal) NS_INTERFACE_MAP_ENTRY(nsILoadGroupChild) NS_INTERFACE_MAP_ENTRY(nsIRequest) NS_INTERFACE_MAP_ENTRY(nsISupportsPriority) @@ -692,18 +691,6 @@ nsLoadGroup::GetRootLoadGroup(nsILoadGroup **aRootLoadGroup) { return NS_OK; } -//////////////////////////////////////////////////////////////////////////////// -// nsPILoadGroupInternal methods: - -NS_IMETHODIMP -nsLoadGroup::OnEndPageLoad(nsIChannel *aDefaultChannel) { - LOG(("nsLoadGroup::OnEndPageLoad this=%p default-request=%p", this, - aDefaultChannel)); - - // for the moment, nothing to do here. - return NS_OK; -} - //////////////////////////////////////////////////////////////////////////////// // nsISupportsPriority methods: diff --git a/netwerk/base/nsLoadGroup.h b/netwerk/base/nsLoadGroup.h index 14107bc32dad..79015447d5f8 100644 --- a/netwerk/base/nsLoadGroup.h +++ b/netwerk/base/nsLoadGroup.h @@ -8,7 +8,6 @@ #include "nsILoadGroup.h" #include "nsILoadGroupChild.h" -#include "nsPILoadGroupInternal.h" #include "nsAgg.h" #include "nsCOMPtr.h" #include "nsWeakReference.h" @@ -26,8 +25,7 @@ namespace net { class nsLoadGroup : public nsILoadGroup, public nsILoadGroupChild, public nsISupportsPriority, - public nsSupportsWeakReference, - public nsPILoadGroupInternal { + public nsSupportsWeakReference { public: NS_DECL_AGGREGATED @@ -38,7 +36,6 @@ class nsLoadGroup : public nsILoadGroup, //////////////////////////////////////////////////////////////////////////// // nsILoadGroup methods: NS_DECL_NSILOADGROUP - NS_DECL_NSPILOADGROUPINTERNAL //////////////////////////////////////////////////////////////////////////// // nsILoadGroupChild methods: diff --git a/netwerk/base/nsPILoadGroupInternal.idl b/netwerk/base/nsPILoadGroupInternal.idl deleted file mode 100644 index 6b12304a4f60..000000000000 --- a/netwerk/base/nsPILoadGroupInternal.idl +++ /dev/null @@ -1,28 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -#include "nsISupports.idl" - -interface nsIChannel; - -/** - * Dumping ground for load group experimental work. - * This interface will never be frozen. If you are - * using any feature exposed by this interface, be aware that this interface - * will change and you will be broken. You have been warned. - */ -[scriptable, uuid(6ef2f8ac-9584-48f3-957a-0c94fff0c8c7)] -interface nsPILoadGroupInternal : nsISupports -{ - - /** - * Called when the load group has loaded main page and - * subresources. (i.e.essentially DOMComplete) - * - * @param aDefaultChanel - * The request channel for the base apge - */ - void OnEndPageLoad(in nsIChannel aDefaultChannel); -};