Bug 1690340 - Part 4: Insert the "Page Source" before the "Extensions for Developers...
[gecko.git] / xpcom / base / nsSecurityConsoleMessage.h
blob9a74d3e38b234be9c2cd4909a72e805960f62a0c
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef nsSecurityConsoleMessage_h__
8 #define nsSecurityConsoleMessage_h__
9 #include "nsISecurityConsoleMessage.h"
10 #include "nsString.h"
12 class nsSecurityConsoleMessage final : public nsISecurityConsoleMessage {
13 public:
14 NS_DECL_ISUPPORTS
15 NS_DECL_NSISECURITYCONSOLEMESSAGE
17 nsSecurityConsoleMessage();
19 private:
20 ~nsSecurityConsoleMessage();
22 protected:
23 nsString mTag;
24 nsString mCategory;
27 #define NS_SECURITY_CONSOLE_MESSAGE_CID \
28 { \
29 0x43ebf210, 0x8a7b, 0x4ddb, { \
30 0xa8, 0x3d, 0xb8, 0x7c, 0x51, 0xa0, 0x58, 0xdb \
31 } \
33 #endif // nsSecurityConsoleMessage_h__