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

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

Issue 10830028: IndexedDB: Send cursor data along with success messages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comment tweaks and rebase Created 8 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_dispatcher_host.cc
diff --git a/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc b/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc
index dbc9f56c7596df9b88103473c8e04a357b7235df..65479112a6939be5ee6249f00ba17f778cf004dd 100644
--- a/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc
+++ b/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc
@@ -892,6 +892,7 @@ void IndexedDBDispatcherHost::CursorDispatcherHost::Send(
parent_->Send(message);
}
+// TODO(jsbell): Remove this after WK92278 rolls.
void IndexedDBDispatcherHost::CursorDispatcherHost::OnKey(
int32 object_id, IndexedDBKey* key) {
WebIDBCursor* idb_cursor = parent_->GetOrTerminateProcess(&map_, object_id);
@@ -901,6 +902,7 @@ void IndexedDBDispatcherHost::CursorDispatcherHost::OnKey(
*key = IndexedDBKey(idb_cursor->key());
}
+// TODO(jsbell): Remove this after WK92278 rolls.
void IndexedDBDispatcherHost::CursorDispatcherHost::OnPrimaryKey(
int32 object_id, IndexedDBKey* primary_key) {
WebIDBCursor* idb_cursor = parent_->GetOrTerminateProcess(&map_, object_id);
@@ -910,6 +912,7 @@ void IndexedDBDispatcherHost::CursorDispatcherHost::OnPrimaryKey(
*primary_key = IndexedDBKey(idb_cursor->primaryKey());
}
+// TODO(jsbell): Remove this after WK92278 rolls.
void IndexedDBDispatcherHost::CursorDispatcherHost::OnValue(
int32 object_id,
SerializedScriptValue* script_value) {
« no previous file with comments | « content/browser/in_process_webkit/indexed_db_dispatcher_host.h ('k') | content/common/indexed_db/indexed_db_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698