diff --git a/mozilla/uriloader/exthandler/win/nsOSHelperAppService.cpp b/mozilla/uriloader/exthandler/win/nsOSHelperAppService.cpp index b06ce1b1d36..c008097f4aa 100644 --- a/mozilla/uriloader/exthandler/win/nsOSHelperAppService.cpp +++ b/mozilla/uriloader/exthandler/win/nsOSHelperAppService.cpp @@ -23,13 +23,14 @@ #include "nsOSHelperAppService.h" nsOSHelperAppService::nsOSHelperAppService() : nsExternalHelperAppService() -{} +{ +} nsOSHelperAppService::~nsOSHelperAppService() {} -NS_IMETHODIMP nsExternalHelperAppService::CanHandleContent(const char *aMimeContentType, nsIURI * aURI, PRBool * aCanHandleContent) +NS_IMETHODIMP nsOSHelperAppService::CanHandleContent(const char *aMimeContentType, nsIURI * aURI, PRBool * aCanHandleContent) { // once we have user over ride stuff working, we need to first call up to our base class // and ask the base class if we can handle the content. This will take care of looking for user specified @@ -42,7 +43,7 @@ NS_IMETHODIMP nsExternalHelperAppService::CanHandleContent(const char *aMimeCont return NS_OK; } -NS_IMETHODIMP nsExternalHelperAppService::DoContent(const char *aMimeContentType, nsIURI *aURI, nsISupports *aWindowContext, +NS_IMETHODIMP nsOSHelperAppService::DoContent(const char *aMimeContentType, nsIURI *aURI, nsISupports *aWindowContext, PRBool *aAbortProcess, nsIStreamListener ** aStreamListener) { // look up the content type and get a platform specific handle to the app we want to use for this diff --git a/mozilla/uriloader/exthandler/win/nsOSHelperAppService.h b/mozilla/uriloader/exthandler/win/nsOSHelperAppService.h index 1f427b2e9bf..e779ddc15ea 100644 --- a/mozilla/uriloader/exthandler/win/nsOSHelperAppService.h +++ b/mozilla/uriloader/exthandler/win/nsOSHelperAppService.h @@ -28,6 +28,7 @@ // in addition to launching those applications. #include "nsExternalHelperAppService.h" +#include "nsCExternalHelperApp.h" #include "nsCOMPtr.h" class nsOSHelperAppService : public nsExternalHelperAppService @@ -37,7 +38,7 @@ public: virtual ~nsOSHelperAppService(); // override nsIExternalHelperAppService methods.... - NS_IMETHOD CanHandleContent(const char *aMimeContentType, PRBool *_retval); + NS_IMETHOD CanHandleContent(const char *aMimeContentType, nsIURI * aURI, PRBool *_retval); NS_IMETHOD DoContent(const char *aMimeContentType, nsIURI *aURI, nsISupports *aWindowContext, PRBool *aAbortProcess, nsIStreamListener **_retval); protected: