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

Side by Side Diff: content/browser/in_process_webkit/indexed_db_dispatcher_host.h

Issue 10197001: IndexedDB: chromium side of IDBCursor.advance(). (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Additional key/value/primarykey for the current cursor 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_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_DISPATCHER_HOST_H_ 5 #ifndef CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_DISPATCHER_HOST_H_
6 #define CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_DISPATCHER_HOST_H_ 6 #define CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_DISPATCHER_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 10
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 void OnDirection(int32 idb_object_store_id, int32* direction); 255 void OnDirection(int32 idb_object_store_id, int32* direction);
256 void OnKey(int32 idb_object_store_id, IndexedDBKey* key); 256 void OnKey(int32 idb_object_store_id, IndexedDBKey* key);
257 void OnPrimaryKey(int32 idb_object_store_id, IndexedDBKey* primary_key); 257 void OnPrimaryKey(int32 idb_object_store_id, IndexedDBKey* primary_key);
258 void OnValue(int32 idb_object_store_id, 258 void OnValue(int32 idb_object_store_id,
259 content::SerializedScriptValue* script_value); 259 content::SerializedScriptValue* script_value);
260 void OnUpdate(int32 idb_object_store_id, 260 void OnUpdate(int32 idb_object_store_id,
261 int32 thread_id, 261 int32 thread_id,
262 int32 response_id, 262 int32 response_id,
263 const content::SerializedScriptValue& value, 263 const content::SerializedScriptValue& value,
264 WebKit::WebExceptionCode* ec); 264 WebKit::WebExceptionCode* ec);
265 void OnAdvance(int32 idb_object_store_id,
266 int32 thread_id,
267 int32 response_id,
268 unsigned long,
jsbell 2012/04/24 15:41:08 Looks like the parameter should be named.
alecflett 2012/04/24 16:34:22 Done.
269 WebKit::WebExceptionCode* ec);
265 void OnContinue(int32 idb_object_store_id, 270 void OnContinue(int32 idb_object_store_id,
266 int32 thread_id, 271 int32 thread_id,
267 int32 response_id, 272 int32 response_id,
268 const IndexedDBKey& key, 273 const IndexedDBKey& key,
269 WebKit::WebExceptionCode* ec); 274 WebKit::WebExceptionCode* ec);
270 void OnPrefetch(int32 idb_cursor_id, 275 void OnPrefetch(int32 idb_cursor_id,
271 int32 thread_id, 276 int32 thread_id,
272 int32 response_id, 277 int32 response_id,
273 int n, 278 int n,
274 WebKit::WebExceptionCode* ec); 279 WebKit::WebExceptionCode* ec);
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 scoped_ptr<CursorDispatcherHost> cursor_dispatcher_host_; 323 scoped_ptr<CursorDispatcherHost> cursor_dispatcher_host_;
319 scoped_ptr<TransactionDispatcherHost> transaction_dispatcher_host_; 324 scoped_ptr<TransactionDispatcherHost> transaction_dispatcher_host_;
320 325
321 // Used to dispatch messages to the correct view host. 326 // Used to dispatch messages to the correct view host.
322 int process_id_; 327 int process_id_;
323 328
324 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBDispatcherHost); 329 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBDispatcherHost);
325 }; 330 };
326 331
327 #endif // CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_DISPATCHER_HOST_H_ 332 #endif // CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_DISPATCHER_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698