diff --git a/mozilla/network/module/nsIConnectionInfo.h b/mozilla/network/module/nsIConnectionInfo.h index 662aabcd5f6..f06febfdc21 100644 --- a/mozilla/network/module/nsIConnectionInfo.h +++ b/mozilla/network/module/nsIConnectionInfo.h @@ -32,6 +32,9 @@ class nsIStreamListener; class nsIConnectionInfo : public nsISupports { public: + + static const nsIID& IID() { static nsIID iid = NS_ICONNECTIONINFO_IID; return iid; } + /** * Get the URL associated with this connection. * diff --git a/mozilla/network/module/nsINetService.h b/mozilla/network/module/nsINetService.h index bef9356a563..86e8fe0887c 100644 --- a/mozilla/network/module/nsINetService.h +++ b/mozilla/network/module/nsINetService.h @@ -54,6 +54,7 @@ class nsIProtocol; */ struct nsINetService : public nsISupports { + static const nsIID& IID() { static nsIID iid = NS_INETSERVICE_IID; return iid; } /** * Initiate an asynchronous URL load.

* diff --git a/mozilla/network/module/nsINetlibURL.h b/mozilla/network/module/nsINetlibURL.h index f8fe9b4f29b..26601ecf538 100644 --- a/mozilla/network/module/nsINetlibURL.h +++ b/mozilla/network/module/nsINetlibURL.h @@ -40,6 +40,7 @@ struct URL_Struct_; */ class nsINetlibURL : public nsISupports { public: + static const nsIID& IID() { static nsIID iid = NS_INETLIBURL_IID; return iid; } NS_IMETHOD GetURLInfo(URL_Struct_ **aResult) const = 0; NS_IMETHOD SetURLInfo(URL_Struct_ *URL_s) = 0;