Module: wine Branch: master Commit: 4dc8a96f78297c8b9033d6e07f959bf1d3989f3d URL: http://source.winehq.org/git/wine.git/?a=commit;h=4dc8a96f78297c8b9033d6e07f...
Author: Jacek Caban jacek@codeweavers.com Date: Fri Dec 4 17:31:57 2015 +0100
mshtml: Fixed nsIHttpChannelInternal declaration.
Signed-off-by: Jacek Caban jacek@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/mshtml/nsiface.idl | 4 +++- dlls/mshtml/nsio.c | 16 ++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-)
diff --git a/dlls/mshtml/nsiface.idl b/dlls/mshtml/nsiface.idl index 943cdb4..ccb2547 100644 --- a/dlls/mshtml/nsiface.idl +++ b/dlls/mshtml/nsiface.idl @@ -652,9 +652,11 @@ interface nsIHttpChannelInternal : nsISupports nsresult SetDocumentURI(nsIURI *aDocumentURI); nsresult GetRequestVersion(uint32_t *major, uint32_t *minor); nsresult GetResponseVersion(uint32_t *major, uint32_t *minor); - nsresult TakeAllSecurityMessages(void /*securityMessagesArray*/ *aMessages); + nsresult TakeAllSecurityMessages(void /*nsCOMArray<nsISecurityConsoleMessage>*/ *aMessages); nsresult SetCookie(const char *aCookieHeader); nsresult SetupFallbackChannel(const char *aFallbackKey); + nsresult GetThirdPartyFlags(uint32_t *aThirdPartyFlags); + nsresult SetThirdPartyFlags(uint32_t aThirdPartyFlags); nsresult GetForceAllowThirdPartyCookie(bool *aForceAllowThirdPartyCookie); nsresult SetForceAllowThirdPartyCookie(bool aForceAllowThirdPartyCookie); nsresult GetCanceled(bool *aCanceled); diff --git a/dlls/mshtml/nsio.c b/dlls/mshtml/nsio.c index c4efc5c..bd6a202 100644 --- a/dlls/mshtml/nsio.c +++ b/dlls/mshtml/nsio.c @@ -1726,6 +1726,20 @@ static nsresult NSAPI nsHttpChannelInternal_SetupFallbackChannel(nsIHttpChannelI return NS_ERROR_NOT_IMPLEMENTED; }
+static nsresult NSAPI nsHttpChannelInternal_GetThirdPartyFlags(nsIHttpChannelInternal *iface, UINT32 *aThirdPartyFlags) +{ + nsChannel *This = impl_from_nsIHttpChannelInternal(iface); + FIXME("(%p)->(%p)\n", This, aThirdPartyFlags); + return NS_ERROR_NOT_IMPLEMENTED; +} + +static nsresult NSAPI nsHttpChannelInternal_SetThirdPartyFlags(nsIHttpChannelInternal *iface, UINT32 aThirdPartyFlags) +{ + nsChannel *This = impl_from_nsIHttpChannelInternal(iface); + FIXME("(%p)->(%x)\n", This, aThirdPartyFlags); + return NS_ERROR_NOT_IMPLEMENTED; +} + static nsresult NSAPI nsHttpChannelInternal_GetForceAllowThirdPartyCookie(nsIHttpChannelInternal *iface, cpp_bool *aForceThirdPartyCookie) { nsChannel *This = impl_from_nsIHttpChannelInternal(iface); @@ -1974,6 +1988,8 @@ static const nsIHttpChannelInternalVtbl nsHttpChannelInternalVtbl = { nsHttpChannelInternal_TakeAllSecurityMessages, nsHttpChannelInternal_SetCookie, nsHttpChannelInternal_SetupFallbackChannel, + nsHttpChannelInternal_GetThirdPartyFlags, + nsHttpChannelInternal_SetThirdPartyFlags, nsHttpChannelInternal_GetForceAllowThirdPartyCookie, nsHttpChannelInternal_SetForceAllowThirdPartyCookie, nsHttpChannelInternal_GetCanceled,