Principal.h 583 B

12345678910111213141516171819202122
  1. /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
  2. /* This Source Code Form is subject to the terms of the Mozilla Public
  3. * License, v. 2.0. If a copy of the MPL was not distributed with this
  4. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  5. #ifndef mozilla_dom_workers_principal_h__
  6. #define mozilla_dom_workers_principal_h__
  7. #include "Workers.h"
  8. BEGIN_WORKERS_NAMESPACE
  9. JSPrincipals*
  10. GetWorkerPrincipal();
  11. void
  12. DestroyWorkerPrincipals(JSPrincipals* aPrincipals);
  13. END_WORKERS_NAMESPACE
  14. #endif /* mozilla_dom_workers_principal_h__ */