Index: mojo/apps/js/mojo_module.h |
diff --git a/mojo/apps/js/bindings/monotonic_clock.h b/mojo/apps/js/mojo_module.h |
similarity index 56% |
copy from mojo/apps/js/bindings/monotonic_clock.h |
copy to mojo/apps/js/mojo_module.h |
index 6278821e8f8445348b3e466de6bfedde49def234..cb4a73a34bf5e7cb49c19d08256b9f2018f13339 100644 |
--- a/mojo/apps/js/bindings/monotonic_clock.h |
+++ b/mojo/apps/js/mojo_module.h |
@@ -2,21 +2,24 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef MOJO_APPS_JS_BINDING_MONOTONIC_CLOCK_H_ |
-#define MOJO_APPS_JS_BINDING_MONOTONIC_CLOCK_H_ |
+#ifndef MOJO_APPS_JS_MOJO_MODULE_H_ |
+#define MOJO_APPS_JS_MOJO_MODULE_H_ |
+#include "gin/gin_export.h" |
#include "v8/include/v8.h" |
namespace mojo { |
namespace apps { |
-class MonotonicClock { |
+class JSApp; |
+ |
+class Mojo { |
public: |
static const char kModuleName[]; |
- static v8::Local<v8::Value> GetModule(v8::Isolate* isolate); |
+ static v8::Local<v8::Value> GetModule(JSApp* js_app, v8::Isolate* isolate); |
}; |
} // namespace apps |
} // namespace mojo |
-#endif // MOJO_APPS_JS_BINDING_MONOTONIC_CLOCK_H_ |
+#endif // MOJO_APPS_JS_MOJO_MODULE_H_ |