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

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

Issue 10854081: IndexedDB: Simplify cursor data callbacks. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: 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 65479112a6939be5ee6249f00ba17f778cf004dd..96abaa9e44cd971002fc21328f1b32a7dcc34f5b 100644
--- a/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc
+++ b/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc
@@ -892,36 +892,6 @@ 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);
- if (!idb_cursor)
- return;
-
- *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);
- if (!idb_cursor)
- return;
-
- *primary_key = IndexedDBKey(idb_cursor->primaryKey());
-}
-
-// TODO(jsbell): Remove this after WK92278 rolls.
-void IndexedDBDispatcherHost::CursorDispatcherHost::OnValue(
- int32 object_id,
- SerializedScriptValue* script_value) {
- WebIDBCursor* idb_cursor = parent_->GetOrTerminateProcess(&map_, object_id);
- if (!idb_cursor)
- return;
-
- *script_value = SerializedScriptValue(idb_cursor->value());
-}
void IndexedDBDispatcherHost::CursorDispatcherHost::OnAdvance(
int32 cursor_id,
« 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