mshtml: Use constant instead of define for REDIRECT_* flags.

This commit is contained in:
Jacek Caban 2015-02-18 18:00:26 +01:00 committed by Alexandre Julliard
parent 4d43d364e8
commit 1f310395eb
1 changed files with 3 additions and 3 deletions

View File

@ -711,9 +711,9 @@ interface nsIAsyncVerifyRedirectCallback : nsISupports
]
interface nsIChannelEventSink : nsISupports
{
cpp_quote("#define REDIRECT_TEMPORARY 1")
cpp_quote("#define REDIRECT_PERMANENT 2")
cpp_quote("#define REDIRECT_INTERNAL 4")
const UINT REDIRECT_TEMPORARY = 1;
const UINT REDIRECT_PERMANENT = 2;
const UINT REDIRECT_INTERNAL = 4;
nsresult AsyncOnChannelRedirect(nsIChannel *oldChannel, nsIChannel *newChannel, uint32_t flags,
nsIAsyncVerifyRedirectCallback *callback);