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

Unified Diff: content/renderer/indexed_db_dispatcher.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/renderer/indexed_db_dispatcher.cc
diff --git a/content/renderer/indexed_db_dispatcher.cc b/content/renderer/indexed_db_dispatcher.cc
index eb00ac395dd1db889e8a8510a0ae96eba2ae2319..2a30e73c1042747f1c399bd739494cc891e2e3a7 100644
--- a/content/renderer/indexed_db_dispatcher.cc
+++ b/content/renderer/indexed_db_dispatcher.cc
@@ -392,10 +392,12 @@ void IndexedDBDispatcher::OnSuccessSerializedScriptValue(
}
void IndexedDBDispatcher::OnSuccessOpenCursor(int32 repsonse_id,
- int32 object_id) {
+ int32 object_id, const IndexedDBKey& key, const IndexedDBKey& primaryKey,
+ const SerializedScriptValue& value) {
WebIDBCallbacks* callbacks =
pending_callbacks_.Lookup(repsonse_id);
- callbacks->onSuccess(new RendererWebIDBCursorImpl(object_id));
+ callbacks->onSuccess(new RendererWebIDBCursorImpl(object_id), key,
michaeln 2011/09/04 23:08:16 Might be nice if the Cursor class contained a sing
+ primaryKey, value);
pending_callbacks_.Remove(repsonse_id);
}

Powered by Google App Engine
This is Rietveld 408576698