2012-04-30 17:57:09 +00: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 00:39:09 +00:00
|
|
|
#include "nsIApplicationCacheService.h"
|
2012-06-06 03:18:25 +00:00
|
|
|
#include "mozilla/Attributes.h"
|
|
|
|
|
2012-10-03 00:39:09 +00:00
|
|
|
class nsCacheService;
|
|
|
|
|
2012-06-06 03:18:25 +00:00
|
|
|
class nsApplicationCacheService MOZ_FINAL : public nsIApplicationCacheService
|
2012-04-30 17:57:09 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
nsApplicationCacheService();
|
|
|
|
|
|
|
|
NS_DECL_ISUPPORTS
|
|
|
|
NS_DECL_NSIAPPLICATIONCACHESERVICE
|
2012-10-03 00:39:09 +00:00
|
|
|
|
|
|
|
static void AppClearDataObserverInit();
|
|
|
|
|
2012-04-30 17:57:09 +00:00
|
|
|
private:
|
|
|
|
nsRefPtr<nsCacheService> mCacheService;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _nsApplicationCacheService_h_
|