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

Side by Side Diff: content/common/indexed_db/indexed_db_dispatcher.h

Issue 10197001: IndexedDB: chromium side of IDBCursor.advance(). (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Reuse the CallbacksSuccessCursorContinue message Created 8 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_COMMON_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ 5 #ifndef CONTENT_COMMON_INDEXED_DB_INDEXED_DB_DISPATCHER_H_
6 #define CONTENT_COMMON_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ 6 #define CONTENT_COMMON_INDEXED_DB_INDEXED_DB_DISPATCHER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <vector> 10 #include <vector>
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 WebKit::WebIDBCallbacks* callbacks, 79 WebKit::WebIDBCallbacks* callbacks,
80 const string16& origin, 80 const string16& origin,
81 WebKit::WebFrame* web_frame); 81 WebKit::WebFrame* web_frame);
82 82
83 void RequestIDBCursorUpdate( 83 void RequestIDBCursorUpdate(
84 const content::SerializedScriptValue& value, 84 const content::SerializedScriptValue& value,
85 WebKit::WebIDBCallbacks* callbacks_ptr, 85 WebKit::WebIDBCallbacks* callbacks_ptr,
86 int32 idb_cursor_id, 86 int32 idb_cursor_id,
87 WebKit::WebExceptionCode* ec); 87 WebKit::WebExceptionCode* ec);
88 88
89 void RequestIDBCursorAdvance(
90 unsigned long count,
91 WebKit::WebIDBCallbacks* callbacks_ptr,
92 int32 idb_cursor_id,
93 WebKit::WebExceptionCode* ec);
94
89 void RequestIDBCursorContinue( 95 void RequestIDBCursorContinue(
90 const IndexedDBKey& key, 96 const IndexedDBKey& key,
91 WebKit::WebIDBCallbacks* callbacks_ptr, 97 WebKit::WebIDBCallbacks* callbacks_ptr,
92 int32 idb_cursor_id, 98 int32 idb_cursor_id,
93 WebKit::WebExceptionCode* ec); 99 WebKit::WebExceptionCode* ec);
94 100
95 void RequestIDBCursorPrefetch( 101 void RequestIDBCursorPrefetch(
96 int n, 102 int n,
97 WebKit::WebIDBCallbacks* callbacks_ptr, 103 WebKit::WebIDBCallbacks* callbacks_ptr,
98 int32 idb_cursor_id, 104 int32 idb_cursor_id,
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 IDMap<WebKit::WebIDBDatabaseCallbacks, IDMapOwnPointer> 269 IDMap<WebKit::WebIDBDatabaseCallbacks, IDMapOwnPointer>
264 pending_database_callbacks_; 270 pending_database_callbacks_;
265 271
266 // Map from cursor id to RendererWebIDBCursorImpl. 272 // Map from cursor id to RendererWebIDBCursorImpl.
267 std::map<int32, RendererWebIDBCursorImpl*> cursors_; 273 std::map<int32, RendererWebIDBCursorImpl*> cursors_;
268 274
269 DISALLOW_COPY_AND_ASSIGN(IndexedDBDispatcher); 275 DISALLOW_COPY_AND_ASSIGN(IndexedDBDispatcher);
270 }; 276 };
271 277
272 #endif // CONTENT_COMMON_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ 278 #endif // CONTENT_COMMON_INDEXED_DB_INDEXED_DB_DISPATCHER_H_
OLDNEW
« no previous file with comments | « content/browser/in_process_webkit/indexed_db_dispatcher_host.cc ('k') | content/common/indexed_db/indexed_db_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698