Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit aa087f4

Browse files
committed
Bug 849086: Remove unused *_CLASSNAME defines. r=bsmedberg
1 parent 4f8816d commit aa087f4

75 files changed

Lines changed: 0 additions & 224 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

caps/idl/nsIScriptSecurityManager.idl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,5 +240,4 @@ interface nsIScriptSecurityManager : nsIXPCSecurityManager
240240

241241
%{C++
242242
#define NS_SCRIPTSECURITYMANAGER_CONTRACTID "@mozilla.org/scriptsecuritymanager;1"
243-
#define NS_SCRIPTSECURITYMANAGER_CLASSNAME "scriptsecuritymanager"
244243
%}

caps/include/nsNullPrincipal.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020
class nsIURI;
2121

22-
#define NS_NULLPRINCIPAL_CLASSNAME "nullprincipal"
2322
#define NS_NULLPRINCIPAL_CID \
2423
{ 0xdd156d62, 0xd26f, 0x4441, \
2524
{ 0x9c, 0xdb, 0xe8, 0xf0, 0x91, 0x07, 0xc2, 0x73 } }

caps/include/nsPrincipal.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,13 +166,11 @@ class nsExpandedPrincipal : public nsIExpandedPrincipal, public nsBasePrincipal
166166
nsTArray< nsCOMPtr<nsIPrincipal> > mPrincipals;
167167
};
168168

169-
#define NS_PRINCIPAL_CLASSNAME "principal"
170169
#define NS_PRINCIPAL_CONTRACTID "@mozilla.org/principal;1"
171170
#define NS_PRINCIPAL_CID \
172171
{ 0x09b7e598, 0x490d, 0x423f, \
173172
{ 0xa8, 0xa6, 0x2e, 0x6c, 0x4e, 0xc8, 0x77, 0x50 }}
174173

175-
#define NS_EXPANDEDPRINCIPAL_CLASSNAME "expandedprincipal"
176174
#define NS_EXPANDEDPRINCIPAL_CONTRACTID "@mozilla.org/expandedprincipal;1"
177175
#define NS_EXPANDEDPRINCIPAL_CID \
178176
{ 0xb33a3807, 0xb76c, 0x44e5, \

caps/include/nsSystemPrincipal.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#include "nsIPrincipal.h"
1212
#include "nsJSPrincipals.h"
1313

14-
#define NS_SYSTEMPRINCIPAL_CLASSNAME "systemprincipal"
1514
#define NS_SYSTEMPRINCIPAL_CID \
1615
{ 0x4a6212db, 0xaccb, 0x11d3, \
1716
{ 0xb7, 0x65, 0x0, 0x60, 0xb0, 0xb6, 0xce, 0xcb }}

dom/base/Crypto.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#include "nsIDOMCryptoLegacy.h"
1111
#endif
1212

13-
#define NS_DOMCRYPTO_CLASSNAME "Crypto JavaScript Class"
1413
#define NS_DOMCRYPTO_CID \
1514
{0x929d9320, 0x251e, 0x11d4, { 0x8a, 0x7c, 0x00, 0x60, 0x08, 0xc8, 0x44, 0xc3} }
1615

dom/base/nsStructuredCloneContainer.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
#include "jsapi.h"
1313
#include "mozilla/Attributes.h"
1414

15-
#define NS_STRUCTUREDCLONECONTAINER_CLASSNAME "nsStructuredCloneContainer"
1615
#define NS_STRUCTUREDCLONECONTAINER_CONTRACTID \
1716
"@mozilla.org/docshell/structured-clone-container;1"
1817
#define NS_STRUCTUREDCLONECONTAINER_CID \

embedding/components/appstartup/src/nsIAppStartupNotifier.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
*/
4444

4545
#define NS_APPSTARTUPNOTIFIER_CONTRACTID "@mozilla.org/embedcomp/appstartup-notifier;1"
46-
#define NS_APPSTARTUPNOTIFIER_CLASSNAME "AppStartup Notifier"
4746

4847
#define APPSTARTUP_CATEGORY "app-startup"
4948
#define APPSTARTUP_TOPIC "app-startup"

extensions/pref/autoconfig/public/nsIAutoConfig.idl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
#define NS_AUTOCONFIG_CONTRACTID \
1919
"@mozilla.org/autoconfiguration;1"
2020

21-
#define NS_AUTOCONFIG_CLASSNAME "AutoConfig Module"
22-
2321
%}
2422

2523
[uuid (80DB54AE-13F2-11d5-BE44-00108335A220)]

extensions/pref/autoconfig/public/nsIReadConfig.idl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
#define NS_READCONFIG_CONTRACTID \
1818
"@mozilla.org/readconfig;1"
1919

20-
#define NS_READCONFIG_CLASSNAME "ReadConfig Module"
21-
2220
%}
2321

2422
[uuid (ba5bc4c6-1dd1-11b2-bb89-b844c6ec0339)]

js/xpconnect/idl/nsIScriptError.idl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,6 @@ interface nsIScriptError : nsIConsoleMessage
9292
};
9393

9494
%{ C++
95-
#define NS_SCRIPTERROR_CLASSNAME "Script Error"
96-
9795
#define NS_SCRIPTERROR_CID \
9896
{ 0xe38e53b9, 0x5bb0, 0x456a, { 0xb5, 0x53, 0x57, 0x93, 0x70, 0xcb, 0x15, 0x67 }}
9997

0 commit comments

Comments
 (0)