diff -r 000000000000 -r 6474c204b198 security/manager/ssl/src/NSSErrorsService.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/security/manager/ssl/src/NSSErrorsService.h Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,31 @@ +/* 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/. */ + +#include "nsINSSErrorsService.h" + +#include "nsIStringBundle.h" +#include "nsCOMPtr.h" +#include "mozilla/Attributes.h" + +namespace mozilla { +namespace psm { + +class NSSErrorsService MOZ_FINAL : public nsINSSErrorsService +{ + NS_DECL_ISUPPORTS + NS_DECL_NSINSSERRORSSERVICE + +public: + nsresult Init(); + +private: + nsCOMPtr mPIPNSSBundle; + nsCOMPtr mNSSErrorsBundle; +}; + +} // psm +} // mozilla + +#define NS_NSSERRORSSERVICE_CID \ + { 0x9ef18451, 0xa157, 0x4d17, { 0x81, 0x32, 0x47, 0xaf, 0xef, 0x21, 0x36, 0x89 } }