michael@0: /* vim: set ts=2 sts=2 et sw=2: */ 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: /** michael@0: * nsINetworkSeerVerifier - used for testing the network seer to ensure it michael@0: * does what we expect it to do. michael@0: */ michael@0: michael@0: #include "nsISupports.idl" michael@0: michael@0: interface nsIURI; michael@0: michael@0: [scriptable, uuid(ea273653-43a8-4632-8b30-4032e0918e8b)] michael@0: interface nsINetworkSeerVerifier : nsISupports michael@0: { michael@0: /** michael@0: * Callback for when we do a predictive preconnect michael@0: * michael@0: * @param uri - The URI that was preconnected to michael@0: */ michael@0: void onPredictPreconnect(in nsIURI uri); michael@0: michael@0: /** michael@0: * Callback for when we do a predictive DNS lookup michael@0: * michael@0: * @param uri - The URI that was looked up michael@0: */ michael@0: void onPredictDNS(in nsIURI uri); michael@0: };