WeakCryptoOverride.h 834 B

123456789101112131415161718192021222324252627282930313233343536
  1. /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
  2. *
  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/. */
  6. #ifndef WEAKCRYPTOOVERRIDE_H
  7. #define WEAKCRYPTOOVERRIDE_H
  8. #include "nsIWeakCryptoOverride.h"
  9. #include "nsWeakReference.h"
  10. namespace mozilla {
  11. namespace psm {
  12. class WeakCryptoOverride final : public nsIWeakCryptoOverride
  13. {
  14. public:
  15. NS_DECL_ISUPPORTS
  16. NS_DECL_NSIWEAKCRYPTOOVERRIDE
  17. WeakCryptoOverride();
  18. protected:
  19. ~WeakCryptoOverride();
  20. };
  21. } // psm
  22. } // mozilla
  23. #define NS_WEAKCRYPTOOVERRIDE_CID /* ffb06724-3c20-447c-8328-ae71513dd618 */ \
  24. { 0xffb06724, 0x3c20, 0x447c, \
  25. { 0x83, 0x28, 0xae, 0x71, 0x51, 0x3d, 0xd6, 0x18 } }
  26. #endif