diff options
Diffstat (limited to 'mojo/apps/js/threading.h')
-rw-r--r-- | mojo/apps/js/threading.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/mojo/apps/js/threading.h b/mojo/apps/js/threading.h new file mode 100644 index 0000000..356d1e7 --- /dev/null +++ b/mojo/apps/js/threading.h @@ -0,0 +1,23 @@ +// Copyright 2013 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef MOJO_APPS_JS_THREADING_H_ +#define MOJO_APPS_JS_THREADING_H_ + +#include "mojo/public/system/core.h" +#include "v8/include/v8.h" + +namespace mojo { +namespace apps { + +class Threading { + public: + static const char kModuleName[]; + static v8::Local<v8::ObjectTemplate> GetTemplate(v8::Isolate* isolate); +}; + +} // namespace apps +} // namespace mojo + +#endif // MOJO_APPS_JS_THREADING_H_ |