Files
roytam1 b4c337a45d import changes from `dev' branch of rmottola/Arctic-Fox:
- Bug 1166488 - Eliminate ServiceWorkerRegistrationBase::mCCDummy. r=smaug (a82dedc28)
- Bug 1167375 - make nsTWeakRef use a nsRefPtr internally. r=nfroyd (f1e9def06)
- Bug 1156966 - Avoid writing 0's to mEmptyHdr in nsTArray since it triggers TSan warnings. r=nfroyd (b4d068d1b)
- Bug 1155968 - Place imports on separate lines. r=khuey (bfd1d2e30)
- Bug 1155968 - Whitespace fixes in xpidl.py to comply with PEP8. r=khuey (b3e787594)
- Bug 1155968 - Move statements to their own lines. r=khuey (c55cb4c90)
- Bug 1155968 - Fix indentation warnings to comply with PEP8. r=khuey (a4d98d541)
- Bug 1155968 - Fix variable use before initialization. r=khuey (108654e6e)
- Bug 1155968 - Fix correct number of empty lines between objects to comply with PEP8. r=khuey (595d69ae4)
- Bug 1155968 - Remove semicolons at ends of statements (PEP8). r=khuey (ab4007ec8)
- Bug 1155968 - Remove trailing whitespace in header.py. r=khuey (48e38de7e)
- Bug 1155968 - Change '==' and '!=' to 'is' and 'is not' to comply with PEP8. r=khuey (f45edd3ba)
- spacing (a26387129)
- Bug 1181297 - Add debug descriptor to nsINode. r=smaug (624cce14d)
- missing part of Bug 1181130 - Part 3 (6fe0bbb81)
- Bug 1155477 follow-up: Fix nsINode::ChildNodes() (88e44bc63)
- Bug 1163916 (part 1) - Avoid a static nsDebugImpl constructor. r=froydnj. (f05047d11)
- Bug 1163916 (part 2) - Avoid a static constructor for kCompressedBufferLength. r=froydnj. (cb6d85364)
- Bug 1146416 - Move remote anonymous temporary file opening to the main thread. r=roc (1ed85bfa5)
2022-01-12 09:04:53 +08:00

44 lines
1.3 KiB
C++

/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* 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/. */
#ifndef nsDebugImpl_h
#define nsDebugImpl_h
#include "nsIDebug.h"
#include "nsIDebug2.h"
class nsDebugImpl : public nsIDebug2
{
public:
nsDebugImpl() = default;
NS_DECL_ISUPPORTS
NS_DECL_NSIDEBUG
NS_DECL_NSIDEBUG2
static nsresult Create(nsISupports* aOuter, const nsIID& aIID,
void** aInstancePtr);
/*
* Inform nsDebugImpl that we're in multiprocess mode.
*
* If aDesc is not nullptr, the string it points to must be
* statically-allocated (i.e., it must be a string literal).
*/
static void SetMultiprocessMode(const char* aDesc);
};
#define NS_DEBUG_CONTRACTID "@mozilla.org/xpcom/debug;1"
#define NS_DEBUG_CID \
{ /* a80b1fb3-aaf6-4852-b678-c27eb7a518af */ \
0xa80b1fb3, \
0xaaf6, \
0x4852, \
{0xb6, 0x78, 0xc2, 0x7e, 0xb7, 0xa5, 0x18, 0xaf} \
}
#endif // nsDebugImpl_h