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

Unified Diff: mojo/public/bindings/js/core.h

Issue 69843003: Implement Mojo message codec in JavaScript (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Aaron's comments Created 7 years, 1 month 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
« no previous file with comments | « mojo/public/bindings/js/codec_unittests.js ('k') | mojo/public/bindings/js/core.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/bindings/js/core.h
diff --git a/mojo/public/bindings/js/core.h b/mojo/public/bindings/js/core.h
index 32cd0aaec19ab25fb8b539ca52f8598b793b17bb..3f4c81887d2f90d5e9071f8a051ecbc070643a78 100644
--- a/mojo/public/bindings/js/core.h
+++ b/mojo/public/bindings/js/core.h
@@ -10,7 +10,11 @@
namespace mojo {
namespace js {
-v8::Local<v8::ObjectTemplate> GetCoreTemplate(v8::Isolate* isolate);
+class Core {
+ public:
+ static const char kModuleName[];
+ static v8::Local<v8::ObjectTemplate> GetTemplate(v8::Isolate* isolate);
+};
} // namespace js
} // namespace mojo
« no previous file with comments | « mojo/public/bindings/js/codec_unittests.js ('k') | mojo/public/bindings/js/core.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698