netwerk/cache2/AppCacheStorage.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/netwerk/cache2/AppCacheStorage.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,37 @@
     1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.7 +
     1.8 +#ifndef AppCacheStorage__h__
     1.9 +#define AppCacheStorage__h__
    1.10 +
    1.11 +#include "CacheStorage.h"
    1.12 +
    1.13 +#include "nsCOMPtr.h"
    1.14 +#include "nsILoadContextInfo.h"
    1.15 +#include "nsIApplicationCache.h"
    1.16 +
    1.17 +class nsIApplicationCache;
    1.18 +
    1.19 +namespace mozilla {
    1.20 +namespace net {
    1.21 +
    1.22 +class AppCacheStorage : public CacheStorage
    1.23 +{
    1.24 +  NS_DECL_ISUPPORTS_INHERITED
    1.25 +  NS_DECL_NSICACHESTORAGE
    1.26 +
    1.27 +public:
    1.28 +  AppCacheStorage(nsILoadContextInfo* aInfo,
    1.29 +                  nsIApplicationCache* aAppCache);
    1.30 +
    1.31 +private:
    1.32 +  virtual ~AppCacheStorage();
    1.33 +
    1.34 +  nsCOMPtr<nsIApplicationCache> mAppCache;
    1.35 +};
    1.36 +
    1.37 +} // net
    1.38 +} // mozilla
    1.39 +
    1.40 +#endif

mercurial