From ee4eb42bf93ce11b145cbffef5b919f6aa2f826f Mon Sep 17 00:00:00 2001 From: "gavin%gavinsharp.com" Date: Sun, 5 Feb 2006 16:45:52 +0000 Subject: [PATCH] Bug 324285 followup: remove all mentions of NS_SHISTORYLISTENER_CONTRACTID, patch by Nickolay Ponomarev , r+sr=bzbarsky git-svn-id: svn://10.0.0.236/trunk@188963 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/docshell/shistory/public/nsISHistoryListener.idl | 4 ---- mozilla/embedding/qa/testembed/BrowserView.cpp.mod | 2 -- mozilla/embedding/qa/testembed/nsiHistory.cpp | 1 - 3 files changed, 7 deletions(-) diff --git a/mozilla/docshell/shistory/public/nsISHistoryListener.idl b/mozilla/docshell/shistory/public/nsISHistoryListener.idl index b8d3ec139b5..fd2834f174b 100644 --- a/mozilla/docshell/shistory/public/nsISHistoryListener.idl +++ b/mozilla/docshell/shistory/public/nsISHistoryListener.idl @@ -40,10 +40,6 @@ interface nsIURI; -%{C++ -#define NS_SHISTORYLISTENER_CONTRACTID "@mozilla.org/browser/shistorylistener;1" -%} - /** * nsISHistoryListener defines the interface one can implement to receive * notifications about activities in session history and to be able to diff --git a/mozilla/embedding/qa/testembed/BrowserView.cpp.mod b/mozilla/embedding/qa/testembed/BrowserView.cpp.mod index 10cc6a0e028..9d48e520a4a 100644 --- a/mozilla/embedding/qa/testembed/BrowserView.cpp.mod +++ b/mozilla/embedding/qa/testembed/BrowserView.cpp.mod @@ -1506,10 +1506,8 @@ void CBrowserView::OnInterfacesNsishistory() nsCOMPtr theSessionHistory(do_CreateInstance(NS_SHISTORY_CONTRACTID)); nsCOMPtr theHistoryEntry(do_CreateInstance(NS_HISTORYENTRY_CONTRACTID)); - nsCOMPtr theSHListener(do_CreateInstance(NS_SHISTORYLISTENER_CONTRACTID)); // do_QueryInterface // NS_HISTORYENTRY_CONTRACTID - // NS_SHISTORYLISTENER_CONTRACTID if (!theSessionHistory) diff --git a/mozilla/embedding/qa/testembed/nsiHistory.cpp b/mozilla/embedding/qa/testembed/nsiHistory.cpp index c8977e63d4d..ac55c2e92f0 100644 --- a/mozilla/embedding/qa/testembed/nsiHistory.cpp +++ b/mozilla/embedding/qa/testembed/nsiHistory.cpp @@ -98,7 +98,6 @@ void CNsIHistory::OnStartTests(UINT nMenuID) //nsCOMPtr theURI; // do_QueryInterface // NS_HISTORYENTRY_CONTRACTID - // NS_SHISTORYLISTENER_CONTRACTID // get Session History through web nav iface if (qaWebNav) {