michael@0: /* vim:set ts=2 sw=2 sts=2 et cin: */ 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: class nsApplicationCache : public nsIApplicationCache michael@0: , public nsSupportsWeakReference michael@0: { michael@0: public: michael@0: NS_DECL_ISUPPORTS michael@0: NS_DECL_NSIAPPLICATIONCACHE michael@0: michael@0: nsApplicationCache(nsOfflineCacheDevice *device, michael@0: const nsACString &group, michael@0: const nsACString &clientID); michael@0: michael@0: nsApplicationCache(); michael@0: michael@0: virtual ~nsApplicationCache(); michael@0: michael@0: void MarkInvalid(); michael@0: michael@0: private: michael@0: nsRefPtr mDevice; michael@0: nsCString mGroup; michael@0: nsCString mClientID; michael@0: bool mValid; michael@0: }; michael@0: