OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 22 matching lines...) Expand all Loading... |
33 #include <wtf/Forward.h> | 33 #include <wtf/Forward.h> |
34 | 34 |
35 namespace WebCore { | 35 namespace WebCore { |
36 | 36 |
37 class IDBKey; | 37 class IDBKey; |
38 class IDBKeyPath; | 38 class IDBKeyPath; |
39 class SerializedScriptValue; | 39 class SerializedScriptValue; |
40 | 40 |
41 PassRefPtr<IDBKey> createIDBKeyFromValue(v8::Handle<v8::Value>); | 41 PassRefPtr<IDBKey> createIDBKeyFromValue(v8::Handle<v8::Value>); |
42 | 42 |
43 bool injectIDBKeyIntoScriptValue(PassRefPtr<IDBKey>, ScriptValue&, const IDBKeyP
ath&); | 43 // FIXME: remove the SerializedValue versions when their use is finally removed
in https://bugs.webkit.org/show_bug.cgi?id=95409. |
| 44 PassRefPtr<IDBKey> createIDBKeyFromSerializedValueAndKeyPath(PassRefPtr<Serializ
edScriptValue>, const IDBKeyPath&); |
| 45 PassRefPtr<SerializedScriptValue> injectIDBKeyIntoSerializedValue(PassRefPtr<IDB
Key>, PassRefPtr<SerializedScriptValue>, const IDBKeyPath&); |
| 46 |
44 PassRefPtr<IDBKey> createIDBKeyFromScriptValueAndKeyPath(const ScriptValue&, con
st IDBKeyPath&); | 47 PassRefPtr<IDBKey> createIDBKeyFromScriptValueAndKeyPath(const ScriptValue&, con
st IDBKeyPath&); |
45 bool canInjectIDBKeyIntoScriptValue(const ScriptValue&, const IDBKeyPath&); | 48 bool canInjectIDBKeyIntoScriptValue(const ScriptValue&, const IDBKeyPath&); |
46 ScriptValue deserializeIDBValue(ScriptExecutionContext*, PassRefPtr<SerializedSc
riptValue>); | 49 ScriptValue deserializeIDBValue(ScriptExecutionContext*, PassRefPtr<SerializedSc
riptValue>); |
47 | 50 |
48 } | 51 } |
49 | 52 |
50 #endif // ENABLE(INDEXED_DATABASE) | 53 #endif // ENABLE(INDEXED_DATABASE) |
51 | 54 |
52 #endif // IDBBindingUtilities_h | 55 #endif // IDBBindingUtilities_h |
OLD | NEW |