toolkit/mozapps/extensions/AddonManagerWebAPI.h
author Daniel Holbert <dholbert@cs.stanford.edu>
Fri, 27 May 2016 16:34:16 -0700
changeset 299394 4224b7714822e13b16c0c6508f3d1b6090bb38a7
parent 293168 a01d14eb9caf57b73ede38fcfe3620e42f9b32db
child 300244 291d7bedba4f501b2cf3880b7e43b9a9ec0d9f1f
permissions -rw-r--r--
Bug 1261964 part 4: Bump fuzzy threshold for new reftest, to accommodate extra fuzziness on WinXP. DONTBUILD MozReview-Commit-ID: 2RrNqbXU0hN

/* -*- 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 "nsPIDOMWindow.h"

namespace mozilla {

class AddonManagerWebAPI {
public:
  static bool IsAPIEnabled(JSContext* cx, JSObject* obj);

private:
  static bool IsValidSite(nsIURI* uri);
};

} // namespace mozilla