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

Unified Diff: content/child/indexed_db/proxy_webidbdatabase_impl.cc

Issue 18023022: Blob support for IDB [Chromium] (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge fixes [builds, untested] Created 7 years, 3 months 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: content/child/indexed_db/proxy_webidbdatabase_impl.cc
diff --git a/content/child/indexed_db/proxy_webidbdatabase_impl.cc b/content/child/indexed_db/proxy_webidbdatabase_impl.cc
index 1cf9778c275da84e7040ef0f84ca13ef91921595..c09f5f5aa09329b83079c706cea5f4b6351d4253 100644
--- a/content/child/indexed_db/proxy_webidbdatabase_impl.cc
+++ b/content/child/indexed_db/proxy_webidbdatabase_impl.cc
@@ -10,12 +10,14 @@
#include "content/child/indexed_db/indexed_db_dispatcher.h"
#include "content/child/indexed_db/indexed_db_key_builders.h"
#include "content/common/indexed_db/indexed_db_messages.h"
+#include "third_party/WebKit/public/platform/WebBlobInfo.h"
#include "third_party/WebKit/public/platform/WebIDBKeyPath.h"
#include "third_party/WebKit/public/platform/WebIDBMetadata.h"
#include "third_party/WebKit/public/platform/WebString.h"
#include "third_party/WebKit/public/platform/WebVector.h"
#include "webkit/child/worker_task_runner.h"
+using WebKit::WebBlobInfo;
using WebKit::WebIDBCallbacks;
using WebKit::WebIDBDatabaseCallbacks;
using WebKit::WebIDBMetadata;
@@ -117,6 +119,7 @@ void RendererWebIDBDatabaseImpl::put(
long long transaction_id,
long long object_store_id,
const WebKit::WebData& value,
+ const WebVector<WebBlobInfo>& webBlobInfo,
const WebIDBKey& key,
PutMode put_mode,
WebIDBCallbacks* callbacks,
@@ -128,6 +131,7 @@ void RendererWebIDBDatabaseImpl::put(
transaction_id,
object_store_id,
value,
+ webBlobInfo,
IndexedDBKeyBuilder::Build(key),
put_mode,
callbacks,

Powered by Google App Engine
This is Rietveld 408576698