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

Unified Diff: gin/converter.h

Issue 62333018: Implement Asynchronous Module Definition API for Mojo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moar testing 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
Index: gin/converter.h
diff --git a/gin/converter.h b/gin/converter.h
index 551849bb07c6adf8aa1b1a9ed81741d3f33cd8e7..ec2e3f40c13dcca5421cae916983cc1e0956c4a3 100644
--- a/gin/converter.h
+++ b/gin/converter.h
@@ -87,6 +87,14 @@ struct Converter<v8::Handle<v8::Object> > {
v8::Handle<v8::Object>* out);
};
+template<>
+struct Converter<v8::Handle<v8::Value> > {
+ static v8::Handle<v8::Value> ToV8(v8::Isolate* isolate,
+ v8::Handle<v8::Value> val);
+ static bool FromV8(v8::Handle<v8::Value> val,
+ v8::Handle<v8::Value>* out);
+};
+
template<typename T>
struct Converter<std::vector<T> > {
static v8::Handle<v8::Value> ToV8(v8::Isolate* isolate,
« no previous file with comments | « gin/context_holder.cc ('k') | gin/converter.cc » ('j') | gin/modules/module_registry.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698