Bug 1293364 - Refactor out duplicate typedefs in xpidl, r=mayhemer

MozReview-Commit-ID: 6lJxrqqBTk8
This commit is contained in:
Michael Layzell 2016-08-08 14:15:36 -04:00
parent 0593e89ea0
commit eea03e9e4d
4 changed files with 3 additions and 9 deletions

View File

@ -6,6 +6,7 @@
#include "domstubs.idl"
#include "nsIDocShellTreeItem.idl"
#include "nsIRequest.idl"
%{ C++
#include "js/TypeDecls.h"
@ -46,8 +47,6 @@ interface nsICommandManager;
interface nsICommandParams;
native TabChildRef(already_AddRefed<nsITabChild>);
typedef unsigned long nsLoadFlags;
[scriptable, builtinclass, uuid(049234fe-da10-478b-bc5d-bc6f9a1ba63d)]
interface nsIDocShell : nsIDocShellTreeItem
{

View File

@ -10,8 +10,6 @@ interface nsIRequestObserver;
interface nsIInterfaceRequestor;
interface nsIRequestContext;
typedef unsigned long nsLoadFlags;
/**
* A load group maintains a collection of nsIRequest objects.
* This is used in lots of places where groups of requests need to be tracked.

View File

@ -3,15 +3,12 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "nsISupports.idl"
#include "nsICache.idl"
interface nsIInputStream;
interface nsIOutputStream;
interface nsICacheEntryDoomCallback;
// ************************ REMOVE **********************
typedef long nsCacheAccessMode;
typedef long nsCacheStoragePolicy;
interface nsICacheListener;
interface nsIFile;
interface nsICacheEntryMetaDataVisitor;

View File

@ -4,11 +4,11 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "nsIProxiedChannel.idl"
#include "nsIRequest.idl"
interface nsILoadGroup;
interface nsIURI;
interface nsIInterfaceRequestor;
typedef unsigned long nsLoadFlags;
[scriptable, uuid(701093ac-5c7f-429c-99e3-423b041fccb4)]
interface nsIHttpAuthenticableChannel : nsIProxiedChannel