Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1215)

Unified Diff: mojo/apps/js/mojo_module.h

Issue 467263006: JavaScript Content Handler Version 0.0 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_
« mojo/apps/js/js_app.cc ('K') | « mojo/apps/js/main.js ('k') | mojo/apps/js/mojo_module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698