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

Unified Diff: content/browser/in_process_webkit/indexed_db_callbacks.cc

Issue 7834006: Consolidate key, primary key, value cursor messages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 9 years, 2 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
« no previous file with comments | « no previous file | content/browser/in_process_webkit/indexed_db_dispatcher_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/in_process_webkit/indexed_db_callbacks.cc
diff --git a/content/browser/in_process_webkit/indexed_db_callbacks.cc b/content/browser/in_process_webkit/indexed_db_callbacks.cc
index 240ad50ccc3be8803add541bdde3568575e60e8b..aa4dd61894ef42879ea98dd0dc1a895fabf73080 100644
--- a/content/browser/in_process_webkit/indexed_db_callbacks.cc
+++ b/content/browser/in_process_webkit/indexed_db_callbacks.cc
@@ -28,8 +28,10 @@ void IndexedDBCallbacksBase::onBlocked() {
void IndexedDBCallbacks<WebKit::WebIDBCursor>::onSuccess(
WebKit::WebIDBCursor* idb_object) {
int32 object_id = dispatcher_host()->Add(idb_object);
- dispatcher_host()->Send(
- new IndexedDBMsg_CallbacksSuccessIDBCursor(response_id(), object_id));
+ dispatcher_host()->Send(new IndexedDBMsg_CallbacksSuccessIDBCursor(
+ response_id(), object_id, IndexedDBKey(idb_object->key()),
+ IndexedDBKey(idb_object->primaryKey()),
+ SerializedScriptValue(idb_object->value())));
}
void IndexedDBCallbacks<WebKit::WebIDBCursor>::onSuccess(
« no previous file with comments | « no previous file | content/browser/in_process_webkit/indexed_db_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698