Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
ed7dc73c
Commit
ed7dc73c
authored
Aug 03, 2016
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 03, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Forward nsIHttpChannel::SetReferrer to SetReferrerWithPolicy.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
709ca356
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
8 deletions
+13
-8
nsio.c
dlls/mshtml/nsio.c
+13
-8
No files found.
dlls/mshtml/nsio.c
View file @
ed7dc73c
...
@@ -1288,12 +1288,7 @@ static nsresult NSAPI nsChannel_SetReferrer(nsIHttpChannel *iface, nsIURI *aRefe
...
@@ -1288,12 +1288,7 @@ static nsresult NSAPI nsChannel_SetReferrer(nsIHttpChannel *iface, nsIURI *aRefe
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
aReferrer
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
aReferrer
);
if
(
aReferrer
)
return
nsIHttpChannel_SetReferrerWithPolicy
(
&
This
->
nsIHttpChannel_iface
,
aReferrer
,
0
);
nsIURI_AddRef
(
aReferrer
);
if
(
This
->
referrer
)
nsIURI_Release
(
This
->
referrer
);
This
->
referrer
=
aReferrer
;
return
NS_OK
;
}
}
static
nsresult
NSAPI
nsChannel_GetReferrerPolicy
(
nsIHttpChannel
*
iface
,
UINT32
*
aReferrerPolicy
)
static
nsresult
NSAPI
nsChannel_GetReferrerPolicy
(
nsIHttpChannel
*
iface
,
UINT32
*
aReferrerPolicy
)
...
@@ -1306,8 +1301,18 @@ static nsresult NSAPI nsChannel_GetReferrerPolicy(nsIHttpChannel *iface, UINT32
...
@@ -1306,8 +1301,18 @@ static nsresult NSAPI nsChannel_GetReferrerPolicy(nsIHttpChannel *iface, UINT32
static
nsresult
NSAPI
nsChannel_SetReferrerWithPolicy
(
nsIHttpChannel
*
iface
,
nsIURI
*
aReferrer
,
UINT32
aReferrerPolicy
)
static
nsresult
NSAPI
nsChannel_SetReferrerWithPolicy
(
nsIHttpChannel
*
iface
,
nsIURI
*
aReferrer
,
UINT32
aReferrerPolicy
)
{
{
nsChannel
*
This
=
impl_from_nsIHttpChannel
(
iface
);
nsChannel
*
This
=
impl_from_nsIHttpChannel
(
iface
);
FIXME
(
"(%p)->(%p %x)
\n
"
,
This
,
aReferrer
,
aReferrerPolicy
);
return
NS_ERROR_NOT_IMPLEMENTED
;
TRACE
(
"(%p)->(%p %d)
\n
"
,
This
,
aReferrer
,
aReferrerPolicy
);
if
(
aReferrerPolicy
)
FIXME
(
"refferer policy %d not implemented
\n
"
,
aReferrerPolicy
);
if
(
aReferrer
)
nsIURI_AddRef
(
aReferrer
);
if
(
This
->
referrer
)
nsIURI_Release
(
This
->
referrer
);
This
->
referrer
=
aReferrer
;
return
NS_OK
;
}
}
static
nsresult
NSAPI
nsHttpChannel_GetProtocolVersion
(
nsIHttpChannel
*
iface
,
nsACString
*
aProtocolVersion
)
static
nsresult
NSAPI
nsHttpChannel_GetProtocolVersion
(
nsIHttpChannel
*
iface
,
nsACString
*
aProtocolVersion
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment