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