2006-03-30 17:31:15 +00:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* vim:set ts=2 sw=2 sts=2 et cindent: */
|
2012-05-21 11:12:37 +00:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2005-03-25 03:41:33 +00:00
|
|
|
|
|
|
|
#include "nsIProtocolProxyService.idl"
|
|
|
|
|
|
|
|
/**
|
2006-03-30 17:31:15 +00:00
|
|
|
* An extension of nsIProtocolProxyService
|
2005-03-25 03:41:33 +00:00
|
|
|
*/
|
2012-09-14 20:27:46 +00:00
|
|
|
[scriptable, uuid(bed3702d-9374-4804-a20f-32baed8e2954)]
|
2006-03-30 17:31:15 +00:00
|
|
|
interface nsIProtocolProxyService2 : nsIProtocolProxyService
|
2005-03-25 03:41:33 +00:00
|
|
|
{
|
2006-03-30 17:31:15 +00:00
|
|
|
/**
|
|
|
|
* Call this method to cause the PAC file (if any is configured) to be
|
|
|
|
* reloaded. The PAC file is loaded asynchronously.
|
|
|
|
*/
|
|
|
|
void reloadPAC();
|
2012-09-14 20:27:46 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* This exists so Java(tm) can migrate to an asynchronous interface.
|
|
|
|
* Do not use this unless you are the plugin interface, and even then you
|
|
|
|
* ought to feel horribly guilty because you will create main thread jank.
|
|
|
|
*
|
|
|
|
* No documentation - it is deprecated!
|
|
|
|
**/
|
|
|
|
nsIProxyInfo deprecatedBlockingResolve(in nsIURI aURI, in unsigned long aFlags);
|
2005-03-25 03:41:33 +00:00
|
|
|
};
|