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

Side by Side Diff: Source/WebCore/bindings/v8/IDBBindingUtilities.h

Issue 11348011: Revert 128789 - IndexedDB: Use ScriptValue instead of SerializedScriptValue for get/openCursor (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1271/
Patch Set: Created 8 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 unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « Source/WebCore/Modules/indexeddb/IDBTransactionCallbacks.h ('k') | Source/WebCore/bindings/v8/IDBBindingUtilities.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698