js/ipc/CpowHolder.h
author Coroiu Cristina <ccoroiu@mozilla.com>
Fri, 13 Apr 2018 19:49:14 +0300
changeset 469282 bab10eeb6799a277b7237851293041cbec55a370
parent 254664 901b357d733450444d316ec1e0f8530384aee7cc
child 508163 6f3709b3878117466168c40affa7bca0b60cf75b
permissions -rw-r--r--
Backed out 4 changesets (bug 1453480) for failing browser-chrome at browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_site_data.js on a CLOSED TREE Backed out changeset 623b37fe0fe8 (bug 1453480) Backed out changeset a3c36fa7ac0c (bug 1453480) Backed out changeset 46a634d6853c (bug 1453480) Backed out changeset 658fedb903d0 (bug 1453480)

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

#ifndef mozilla_jsipc_CpowHolder_h__
#define mozilla_jsipc_CpowHolder_h__

#include "js/TypeDecls.h"

namespace mozilla {
namespace jsipc {

class CpowHolder
{
  public:
    virtual bool ToObject(JSContext* cx, JS::MutableHandle<JSObject*> objp) = 0;
};

} // namespace jsipc
} // namespace mozilla

#endif // mozilla_jsipc_CpowHolder_h__