nsApplicationCacheService.h 733 B

1234567891011121314151617181920212223242526272829
  1. /* This Source Code Form is subject to the terms of the Mozilla Public
  2. * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  3. * You can obtain one at http://mozilla.org/MPL/2.0/. */
  4. #ifndef _nsApplicationCacheService_h_
  5. #define _nsApplicationCacheService_h_
  6. #include "nsIApplicationCacheService.h"
  7. #include "mozilla/Attributes.h"
  8. class nsCacheService;
  9. class nsApplicationCacheService final : public nsIApplicationCacheService
  10. {
  11. public:
  12. nsApplicationCacheService();
  13. NS_DECL_ISUPPORTS
  14. NS_DECL_NSIAPPLICATIONCACHESERVICE
  15. static void AppClearDataObserverInit();
  16. private:
  17. ~nsApplicationCacheService();
  18. RefPtr<nsCacheService> mCacheService;
  19. };
  20. #endif // _nsApplicationCacheService_h_