netwerk/cache/nsApplicationCacheService.h
author Vijay Budhram <vbudhram@mozilla.com>
Tue, 12 Mar 2019 22:22:52 +0000
changeset 521680 3a075843a5ccddc55d2d04f5bc810ae35b0f6c09
parent 505383 6f3709b3878117466168c40affa7bca0b60cf75b
permissions -rw-r--r--
Bug 1524665 - add strings for FxA avatar toolbar menu, r=gijs

/* 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_

#include "nsIApplicationCacheService.h"
#include "mozilla/Attributes.h"

class nsCacheService;

class nsApplicationCacheService final : public nsIApplicationCacheService {
 public:
  nsApplicationCacheService();

  NS_DECL_ISUPPORTS
  NS_DECL_NSIAPPLICATIONCACHESERVICE

  static void AppClearDataObserverInit();

 private:
  ~nsApplicationCacheService() = default;
  RefPtr<nsCacheService> mCacheService;
};

#endif  // _nsApplicationCacheService_h_