2012-04-30 10:57:09 -07:00
|
|
|
/* 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/. */
|
|
|
|
|
|
|
|
#ifndef _nsApplicationCacheService_h_
|
|
|
|
#define _nsApplicationCacheService_h_
|
|
|
|
|
2012-10-02 17:39:09 -07:00
|
|
|
#include "nsIApplicationCacheService.h"
|
2012-06-05 20:18:25 -07:00
|
|
|
#include "mozilla/Attributes.h"
|
|
|
|
|
2012-10-02 17:39:09 -07:00
|
|
|
class nsCacheService;
|
|
|
|
|
2015-03-21 09:28:04 -07:00
|
|
|
class nsApplicationCacheService final : public nsIApplicationCacheService
|
2012-04-30 10:57:09 -07:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
nsApplicationCacheService();
|
|
|
|
|
|
|
|
NS_DECL_ISUPPORTS
|
|
|
|
NS_DECL_NSIAPPLICATIONCACHESERVICE
|
2012-10-02 17:39:09 -07:00
|
|
|
|
|
|
|
static void AppClearDataObserverInit();
|
|
|
|
|
2012-04-30 10:57:09 -07:00
|
|
|
private:
|
2014-06-24 09:36:44 -07:00
|
|
|
~nsApplicationCacheService();
|
2012-04-30 10:57:09 -07:00
|
|
|
nsRefPtr<nsCacheService> mCacheService;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _nsApplicationCacheService_h_
|