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

Unified Diff: Source/bindings/v8/IDBBindingUtilities.h

Issue 18590006: Blob support for IDB [Blink] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: small cleanup Created 7 years 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/v8/IDBBindingUtilities.h
diff --git a/Source/bindings/v8/IDBBindingUtilities.h b/Source/bindings/v8/IDBBindingUtilities.h
index f18edc10dde1ccfe983d1e669a8c5bc34efb8220..c03c4e2a33c526bafd2d1be27129ed0341e1032f 100644
--- a/Source/bindings/v8/IDBBindingUtilities.h
+++ b/Source/bindings/v8/IDBBindingUtilities.h
@@ -32,6 +32,7 @@
namespace WebCore {
+class BlobInfo;
class DOMRequestState;
class IDBAny;
class IDBKey;
@@ -43,7 +44,7 @@ class SharedBuffer;
// For use by bindings/v8/custom:
v8::Handle<v8::Value> toV8(IDBKey*, v8::Handle<v8::Object> creationContext, v8::Isolate*);
bool injectV8KeyIntoV8Value(v8::Handle<v8::Value> key, v8::Handle<v8::Value>, const IDBKeyPath&, v8::Isolate*);
-v8::Handle<v8::Value> deserializeIDBValueBuffer(SharedBuffer*, v8::Isolate*);
+v8::Handle<v8::Value> deserializeIDBValueBuffer(SharedBuffer*, const Vector<BlobInfo>*, v8::Isolate*);
// For use by Source/modules/indexeddb:
PassRefPtr<IDBKey> createIDBKeyFromScriptValueAndKeyPath(DOMRequestState*, const ScriptValue&, const IDBKeyPath&);
@@ -54,7 +55,7 @@ PassRefPtr<IDBKey> scriptValueToIDBKey(DOMRequestState*, const ScriptValue&);
PassRefPtr<IDBKeyRange> scriptValueToIDBKeyRange(DOMRequestState*, const ScriptValue&);
#ifndef NDEBUG
-void assertPrimaryKeyValidOrInjectable(DOMRequestState*, PassRefPtr<SharedBuffer>, PassRefPtr<IDBKey>, const IDBKeyPath&);
+void assertPrimaryKeyValidOrInjectable(DOMRequestState*, PassRefPtr<SharedBuffer>, const Vector<BlobInfo>*, PassRefPtr<IDBKey>, const IDBKeyPath&);
#endif
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698