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

Unified Diff: content/child/indexed_db/webidbdatabase_impl.h

Issue 229483003: WebBlobInfo plumbing for WebIDBDatabaseImpl::put. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rolled in Josh's feedback. Created 6 years, 8 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/webidbdatabase_impl.h
diff --git a/content/child/indexed_db/webidbdatabase_impl.h b/content/child/indexed_db/webidbdatabase_impl.h
index 8bdf59af6d9cc78c1564072ca453c52893a59407..088f722be5ad9de04595a3eb8621d6b272d6f10c 100644
--- a/content/child/indexed_db/webidbdatabase_impl.h
+++ b/content/child/indexed_db/webidbdatabase_impl.h
@@ -11,6 +11,7 @@
#include "third_party/WebKit/public/platform/WebIDBDatabase.h"
namespace blink {
+class WebBlobInfo;
class WebIDBCallbacks;
class WebIDBDatabaseCallbacks;
class WebString;
@@ -45,6 +46,8 @@ class WebIDBDatabaseImpl : public blink::WebIDBDatabase {
const blink::WebIDBKeyRange&,
bool keyOnly,
blink::WebIDBCallbacks*);
+// TODO(ericu): Remove this once it's obsolete. It's only here for the
+// three-sided-patch dance.
virtual void put(long long transactionId,
long long objectStoreId,
const blink::WebData& value,
@@ -53,6 +56,15 @@ class WebIDBDatabaseImpl : public blink::WebIDBDatabase {
blink::WebIDBCallbacks*,
const blink::WebVector<long long>& indexIds,
const blink::WebVector<WebIndexKeys>&);
+ virtual void put(long long transactionId,
+ long long objectStoreId,
+ const blink::WebData& value,
+ const blink::WebVector<blink::WebBlobInfo>& webBlobInfo,
+ const blink::WebIDBKey&,
+ PutMode,
+ blink::WebIDBCallbacks*,
+ const blink::WebVector<long long>& indexIds,
+ const blink::WebVector<WebIndexKeys>&);
virtual void setIndexKeys(long long transactionId,
long long objectStoreId,
const blink::WebIDBKey&,
« no previous file with comments | « content/child/indexed_db/indexed_db_dispatcher_unittest.cc ('k') | content/child/indexed_db/webidbdatabase_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698