Index: Source/bindings/modules/v8/V8BindingForModules.h |
diff --git a/Source/bindings/modules/v8/V8BindingForModules.h b/Source/bindings/modules/v8/V8BindingForModules.h |
index 5cfecbce82f6d58578e80ea2e0ba05ec97515cc6..0f71655f09458418db2e1f0864c3fc2eaa7289de 100644 |
--- a/Source/bindings/modules/v8/V8BindingForModules.h |
+++ b/Source/bindings/modules/v8/V8BindingForModules.h |
@@ -6,13 +6,13 @@ |
#define V8BindingForModules_h |
#include "bindings/core/v8/V8Binding.h" |
+#include "modules/indexeddb/IDBKeyPath.h" |
#include "modules/webdatabase/sqlite/SQLValue.h" |
namespace blink { |
class IDBAny; |
class IDBKey; |
-class IDBKeyPath; |
class IDBKeyRange; |
class SerializedScriptValue; |
class SharedBuffer; |
@@ -22,7 +22,6 @@ class WebBlobInfo; |
bool injectV8KeyIntoV8Value(v8::Isolate*, v8::Local<v8::Value> key, v8::Local<v8::Value>, const IDBKeyPath&); |
// For use by Source/modules/indexeddb: |
-IDBKey* createIDBKeyFromScriptValueAndKeyPath(v8::Isolate*, const ScriptValue&, const IDBKeyPath&); |
bool canInjectIDBKeyIntoScriptValue(v8::Isolate*, const ScriptValue&, const IDBKeyPath&); |
ScriptValue deserializeScriptValue(ScriptState*, SerializedScriptValue*, const Vector<blink::WebBlobInfo>*); |
@@ -37,7 +36,7 @@ struct NativeValueTraits<SQLValue> { |
template <> |
struct NativeValueTraits<IDBKey*> { |
- static IDBKey* nativeValue(v8::Local<v8::Value>, v8::Isolate*, ExceptionState&); |
+ static IDBKey* nativeValue(v8::Local<v8::Value>, v8::Isolate*, ExceptionState&, const IDBKeyPath& = IDBKeyPath()); |
jsbell
2015/03/19 16:46:57
It's possible that creating a temporary IDBKeyPath
vivekg
2015/03/19 17:46:52
Sure, we can have the overloaded method for non ID
|
}; |
template <> |