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

Unified Diff: Source/bindings/modules/v8/ToV8ForModules.h

Issue 1007703003: [bindings] Utilize ScriptValue::from and remove IDB* => ScriptValue conversion methods (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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: Source/bindings/modules/v8/ToV8ForModules.h
diff --git a/Source/bindings/modules/v8/ToV8ForModules.h b/Source/bindings/modules/v8/ToV8ForModules.h
index 6580f0f5bbd99af221672148be18b01d253f81b5..93153ebdb00042f07256bb941a16f0362f5344da 100644
--- a/Source/bindings/modules/v8/ToV8ForModules.h
+++ b/Source/bindings/modules/v8/ToV8ForModules.h
@@ -10,6 +10,10 @@
namespace blink {
+class IDBAny;
+class IDBKey;
+class IDBKeyPath;
+
inline v8::Handle<v8::Value> toV8(const SQLValue& sqlValue, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
{
switch (sqlValue.type()) {
@@ -24,6 +28,10 @@ inline v8::Handle<v8::Value> toV8(const SQLValue& sqlValue, v8::Handle<v8::Objec
return v8::Local<v8::Value>();
}
+v8::Local<v8::Value> toV8(const IDBKeyPath&, v8::Local<v8::Object> creationContext, v8::Isolate*);
+v8::Local<v8::Value> toV8(const IDBKey*, v8::Local<v8::Object> creationContext, v8::Isolate*);
+v8::Local<v8::Value> toV8(const IDBAny*, v8::Local<v8::Object> creationContext, v8::Isolate*);
+
} // namespace blink
#endif // ToV8ForModules_h
« no previous file with comments | « no previous file | Source/bindings/modules/v8/V8BindingForModules.h » ('j') | Source/bindings/modules/v8/V8BindingForModules.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698