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 17 matching lines...) Expand all Loading... |
28 | 28 |
29 #include "bindings/v8/ScriptValue.h" | 29 #include "bindings/v8/ScriptValue.h" |
30 #include <v8.h> | 30 #include <v8.h> |
31 #include "wtf/Forward.h" | 31 #include "wtf/Forward.h" |
32 | 32 |
33 namespace WebCore { | 33 namespace WebCore { |
34 | 34 |
35 class DOMRequestState; | 35 class DOMRequestState; |
36 class IDBKey; | 36 class IDBKey; |
37 class IDBKeyPath; | 37 class IDBKeyPath; |
| 38 class IDBKeyRange; |
38 class SerializedScriptValue; | 39 class SerializedScriptValue; |
39 class SharedBuffer; | 40 class SharedBuffer; |
40 | 41 |
41 bool injectIDBKeyIntoScriptValue(DOMRequestState*, PassRefPtr<IDBKey>, ScriptVal
ue&, const IDBKeyPath&); | 42 bool injectIDBKeyIntoScriptValue(DOMRequestState*, PassRefPtr<IDBKey>, ScriptVal
ue&, const IDBKeyPath&); |
42 PassRefPtr<IDBKey> createIDBKeyFromScriptValueAndKeyPath(DOMRequestState*, const
ScriptValue&, const IDBKeyPath&); | 43 PassRefPtr<IDBKey> createIDBKeyFromScriptValueAndKeyPath(DOMRequestState*, const
ScriptValue&, const IDBKeyPath&); |
43 bool canInjectIDBKeyIntoScriptValue(DOMRequestState*, const ScriptValue&, const
IDBKeyPath&); | 44 bool canInjectIDBKeyIntoScriptValue(DOMRequestState*, const ScriptValue&, const
IDBKeyPath&); |
44 ScriptValue deserializeIDBValue(DOMRequestState*, PassRefPtr<SerializedScriptVal
ue>); | 45 ScriptValue deserializeIDBValue(DOMRequestState*, PassRefPtr<SerializedScriptVal
ue>); |
45 ScriptValue deserializeIDBValueBuffer(DOMRequestState*, PassRefPtr<SharedBuffer>
); | 46 ScriptValue deserializeIDBValueBuffer(DOMRequestState*, PassRefPtr<SharedBuffer>
); |
46 ScriptValue idbKeyToScriptValue(DOMRequestState*, PassRefPtr<IDBKey>); | 47 ScriptValue idbKeyToScriptValue(DOMRequestState*, PassRefPtr<IDBKey>); |
47 PassRefPtr<IDBKey> scriptValueToIDBKey(DOMRequestState*, const ScriptValue&); | 48 PassRefPtr<IDBKey> scriptValueToIDBKey(DOMRequestState*, const ScriptValue&); |
| 49 PassRefPtr<IDBKeyRange> scriptValueToIDBKeyRange(DOMRequestState*, const ScriptV
alue&); |
48 | 50 |
49 } // namespace WebCore | 51 } // namespace WebCore |
50 | 52 |
51 #endif // IDBBindingUtilities_h | 53 #endif // IDBBindingUtilities_h |
OLD | NEW |