1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/xpcom/base/nsSecurityConsoleMessage.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,28 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +#ifndef nsSecurityConsoleMessage_h__ 1.9 +#define nsSecurityConsoleMessage_h__ 1.10 +#include "nsISecurityConsoleMessage.h" 1.11 +#include "nsString.h" 1.12 + 1.13 +class nsSecurityConsoleMessage MOZ_FINAL : public nsISecurityConsoleMessage 1.14 +{ 1.15 + public: 1.16 + NS_DECL_ISUPPORTS 1.17 + NS_DECL_NSISECURITYCONSOLEMESSAGE 1.18 + 1.19 + nsSecurityConsoleMessage(); 1.20 + 1.21 + private: 1.22 + ~nsSecurityConsoleMessage(); 1.23 + 1.24 + protected: 1.25 + nsString mTag; 1.26 + nsString mCategory; 1.27 +}; 1.28 + 1.29 +#define NS_SECURITY_CONSOLE_MESSAGE_CID \ 1.30 + {0x43ebf210, 0x8a7b, 0x4ddb, {0xa8, 0x3d, 0xb8, 0x7c, 0x51, 0xa0, 0x58, 0xdb}} 1.31 +#endif //nsSecurityConsoleMessage_h__