Index: content/child/indexed_db/indexed_db_dispatcher.h |
diff --git a/content/child/indexed_db/indexed_db_dispatcher.h b/content/child/indexed_db/indexed_db_dispatcher.h |
index 6d60e29665b7a09861e6957e0aa2cc4cfdccdd87..390a08128839c377378613a0d49411a1be8d33c5 100644 |
--- a/content/child/indexed_db/indexed_db_dispatcher.h |
+++ b/content/child/indexed_db/indexed_db_dispatcher.h |
@@ -14,6 +14,7 @@ |
#include "base/strings/nullable_string16.h" |
#include "content/common/content_export.h" |
#include "ipc/ipc_sync_message_filter.h" |
+#include "third_party/WebKit/public/platform/WebBlobInfo.h" |
#include "third_party/WebKit/public/platform/WebIDBCallbacks.h" |
#include "third_party/WebKit/public/platform/WebIDBCursor.h" |
#include "third_party/WebKit/public/platform/WebIDBDatabase.h" |
@@ -24,6 +25,8 @@ struct IndexedDBDatabaseMetadata; |
struct IndexedDBMsg_CallbacksSuccessCursorContinue_Params; |
struct IndexedDBMsg_CallbacksSuccessCursorPrefetch_Params; |
struct IndexedDBMsg_CallbacksSuccessIDBCursor_Params; |
+struct IndexedDBMsg_CallbacksSuccessValue_Params; |
+struct IndexedDBMsg_CallbacksSuccessValueWithKey_Params; |
struct IndexedDBMsg_CallbacksUpgradeNeeded_Params; |
namespace blink { |
@@ -122,12 +125,12 @@ class CONTENT_EXPORT IndexedDBDispatcher |
int64 transaction_id, |
int64 object_store_id, |
const blink::WebData& value, |
+ const blink::WebVector<blink::WebBlobInfo>& blobInfo, |
const IndexedDBKey& key, |
blink::WebIDBDatabase::PutMode put_mode, |
blink::WebIDBCallbacks* callbacks, |
const blink::WebVector<long long>& index_ids, |
- const blink::WebVector<blink::WebVector<blink::WebIDBKey> >& |
- index_keys); |
+ const blink::WebVector<blink::WebVector<blink::WebIDBKey> >& index_keys); |
void RequestIDBDatabaseOpenCursor(int32 ipc_database_id, |
int64 transaction_id, |
@@ -193,14 +196,9 @@ class CONTENT_EXPORT IndexedDBDispatcher |
void OnSuccessStringList(int32 ipc_thread_id, |
int32 ipc_callbacks_id, |
const std::vector<string16>& value); |
- void OnSuccessValue(int32 ipc_thread_id, |
- int32 ipc_callbacks_id, |
- const std::string& value); |
- void OnSuccessValueWithKey(int32 ipc_thread_id, |
- int32 ipc_callbacks_id, |
- const std::string& value, |
- const IndexedDBKey& primary_key, |
- const IndexedDBKeyPath& key_path); |
+ void OnSuccessValue(const IndexedDBMsg_CallbacksSuccessValue_Params& p); |
+ void OnSuccessValueWithKey( |
+ const IndexedDBMsg_CallbacksSuccessValueWithKey_Params& p); |
void OnSuccessInteger(int32 ipc_thread_id, |
int32 ipc_callbacks_id, |
int64 value); |