netwerk/cache2/AppCacheStorage.h
author Kai Engert <kaie@kuix.de>
Fri, 17 Apr 2015 18:43:30 +0200
changeset 239758 323f0f850485ec38a25ca4207197eb895282e5e9
parent 148125 0c91d9aa9476a9c2c6eb01e6142267d7987977e2
child 252629 91d6e262b662a0b4e47358665e222d3927337af9
permissions -rw-r--r--
Bug 1144055 - Upgrade Firefox 39 to use NSS 3.19, land NSS_3_19_BETA3, r=nss-confcall

/* 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 AppCacheStorage__h__
#define AppCacheStorage__h__

#include "CacheStorage.h"

#include "nsCOMPtr.h"
#include "nsILoadContextInfo.h"
#include "nsIApplicationCache.h"

class nsIApplicationCache;

namespace mozilla {
namespace net {

class AppCacheStorage : public CacheStorage
{
  NS_DECL_ISUPPORTS_INHERITED
  NS_DECL_NSICACHESTORAGE

public:
  AppCacheStorage(nsILoadContextInfo* aInfo,
                  nsIApplicationCache* aAppCache);

private:
  virtual ~AppCacheStorage();

  nsCOMPtr<nsIApplicationCache> mAppCache;
};

} // net
} // mozilla

#endif