dom/workers/WorkerScope.h
author Gregory Szorc <gps@mozilla.com>
Wed, 28 Jan 2015 13:37:00 -0800
branchCAL180_20121114_RELBRANCH
changeset 157161 31ec81b5d7bbeac985e50bc15742c82752457e7b
parent 96742 f4157e8c410708d76703f19e4dfb61859bfe32d8
child 154539 03174045ef8d72ab2a0486e656c988bb3644951d
permissions -rw-r--r--
Close old release branch CAL180_20121114_RELBRANCH

/* -*- Mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 40 -*- */
/* 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 mozilla_dom_workers_workerscope_h__
#define mozilla_dom_workers_workerscope_h__

#include "Workers.h"

BEGIN_WORKERS_NAMESPACE

JSObject*
CreateDedicatedWorkerGlobalScope(JSContext* aCx);

bool
ClassIsWorkerGlobalScope(JSClass* aClass);

END_WORKERS_NAMESPACE

#endif /* mozilla_dom_workers_workerscope_h__ */