security/manager/ssl/src/NSSErrorsService.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/security/manager/ssl/src/NSSErrorsService.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,31 @@
     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 +#include "nsINSSErrorsService.h"
     1.9 +
    1.10 +#include "nsIStringBundle.h"
    1.11 +#include "nsCOMPtr.h"
    1.12 +#include "mozilla/Attributes.h"
    1.13 +
    1.14 +namespace mozilla {
    1.15 +namespace psm {
    1.16 +
    1.17 +class NSSErrorsService MOZ_FINAL : public nsINSSErrorsService
    1.18 +{
    1.19 +  NS_DECL_ISUPPORTS
    1.20 +  NS_DECL_NSINSSERRORSSERVICE
    1.21 +
    1.22 +public:
    1.23 +  nsresult Init();
    1.24 +
    1.25 +private:
    1.26 +  nsCOMPtr<nsIStringBundle> mPIPNSSBundle;
    1.27 +  nsCOMPtr<nsIStringBundle> mNSSErrorsBundle;
    1.28 +};
    1.29 +
    1.30 +} // psm
    1.31 +} // mozilla
    1.32 +
    1.33 +#define NS_NSSERRORSSERVICE_CID \
    1.34 +  { 0x9ef18451, 0xa157, 0x4d17, { 0x81, 0x32, 0x47, 0xaf, 0xef, 0x21, 0x36, 0x89 } }

mercurial