1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/netwerk/base/public/nsIAsyncVerifyRedirectCallback.idl Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,19 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +#include "nsISupports.idl" 1.9 + 1.10 +[scriptable, uuid(8d171460-a716-41f1-92be-8c659db39b45)] 1.11 +interface nsIAsyncVerifyRedirectCallback : nsISupports 1.12 +{ 1.13 + /** 1.14 + * Complement to nsIChannelEventSink asynchronous callback. The result of 1.15 + * the redirect decision is passed through this callback. 1.16 + * 1.17 + * @param result 1.18 + * Result of the redirect veto decision. If FAILED the redirect has been 1.19 + * vetoed. If SUCCEEDED the redirect has been allowed by all consumers. 1.20 + */ 1.21 + void onRedirectVerifyCallback(in nsresult result); 1.22 +};