michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef AppCacheStorage__h__ michael@0: #define AppCacheStorage__h__ michael@0: michael@0: #include "CacheStorage.h" michael@0: michael@0: #include "nsCOMPtr.h" michael@0: #include "nsILoadContextInfo.h" michael@0: #include "nsIApplicationCache.h" michael@0: michael@0: class nsIApplicationCache; michael@0: michael@0: namespace mozilla { michael@0: namespace net { michael@0: michael@0: class AppCacheStorage : public CacheStorage michael@0: { michael@0: NS_DECL_ISUPPORTS_INHERITED michael@0: NS_DECL_NSICACHESTORAGE michael@0: michael@0: public: michael@0: AppCacheStorage(nsILoadContextInfo* aInfo, michael@0: nsIApplicationCache* aAppCache); michael@0: michael@0: private: michael@0: virtual ~AppCacheStorage(); michael@0: michael@0: nsCOMPtr mAppCache; michael@0: }; michael@0: michael@0: } // net michael@0: } // mozilla michael@0: michael@0: #endif