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

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: remove unused messages Created 9 years, 4 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/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 24a77998e1842ee50cee4d2c11724ac4797297d2..43d355b976198efc9ce69cfc98c65965d14667f0 100644
--- a/content/browser/in_process_webkit/indexed_db_callbacks.cc
+++ b/content/browser/in_process_webkit/indexed_db_callbacks.cc
@@ -26,10 +26,14 @@ void IndexedDBCallbacksBase::onBlocked() {
}
void IndexedDBCallbacks<WebKit::WebIDBCursor>::onSuccess(
- WebKit::WebIDBCursor* idb_object) {
+ WebKit::WebIDBCursor* idb_object, const WebKit::WebIDBKey& key,
+ const WebKit::WebIDBKey& primary_key,
+ const WebKit::WebSerializedScriptValue& value) {
int32 object_id = dispatcher_host()->Add(idb_object);
dispatcher_host()->Send(
- new IndexedDBMsg_CallbacksSuccessIDBCursor(response_id(), object_id));
+ new IndexedDBMsg_CallbacksSuccessIDBCursor(
+ response_id(), object_id, IndexedDBKey(key),
+ IndexedDBKey(primary_key), SerializedScriptValue(value)));
}
void IndexedDBCallbacks<WebKit::WebIDBCursor>::onSuccess(

Powered by Google App Engine
This is Rietveld 408576698