toolkit/mozapps/extensions/AddonContentPolicy.h
author Iulian Moraru <imoraru@mozilla.com>
Sun, 29 Jan 2023 03:17:48 +0200
changeset 650907 6f4a1b340a8993d54fbbe853d17989b414a1c6d4
parent 448947 6f3709b3878117466168c40affa7bca0b60cf75b
permissions -rw-r--r--
Backed out 7 changesets (bug 1704500) for causing bc failures on browser_utility_geolocation_crashed.js. CLOSED TREE Backed out changeset afcc1e8b5ad7 (bug 1704500) Backed out changeset 1c27f9c36fda (bug 1704500) Backed out changeset c0f0a280aaea (bug 1704500) Backed out changeset 4be2d58ddf54 (bug 1704500) Backed out changeset 1386732459ce (bug 1704500) Backed out changeset 88e8015e1ec4 (bug 1704500) Backed out changeset d96e810e20ec (bug 1704500)

/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* 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/. */

#include "nsIContentPolicy.h"
#include "nsIAddonPolicyService.h"

class AddonContentPolicy : public nsIContentPolicy,
                           public nsIAddonContentPolicy {
 protected:
  virtual ~AddonContentPolicy();

 public:
  AddonContentPolicy();

  NS_DECL_ISUPPORTS
  NS_DECL_NSICONTENTPOLICY
  NS_DECL_NSIADDONCONTENTPOLICY
};