michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #include "nsISupports.idl" michael@0: michael@0: [scriptable, uuid(8d171460-a716-41f1-92be-8c659db39b45)] michael@0: interface nsIAsyncVerifyRedirectCallback : nsISupports michael@0: { michael@0: /** michael@0: * Complement to nsIChannelEventSink asynchronous callback. The result of michael@0: * the redirect decision is passed through this callback. michael@0: * michael@0: * @param result michael@0: * Result of the redirect veto decision. If FAILED the redirect has been michael@0: * vetoed. If SUCCEEDED the redirect has been allowed by all consumers. michael@0: */ michael@0: void onRedirectVerifyCallback(in nsresult result); michael@0: };