aboutsummaryrefslogtreecommitdiff
path: root/mojo/edk/js/core.h
blob: 97ef5dfd8118e73408371971ef008854e9757a65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright 2014 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_EDK_JS_CORE_H_
#define MOJO_EDK_JS_CORE_H_

#include "mojo/edk/js/js_export.h"
#include "v8/include/v8.h"

namespace mojo {
namespace edk {
namespace js {

class MOJO_JS_EXPORT Core {
 public:
  static const char kModuleName[];
  static v8::Local<v8::Value> GetModule(v8::Isolate* isolate);
};

}  // namespace js
}  // namespace edk
}  // namespace mojo

#endif  // MOJO_EDK_JS_CORE_H_