| Index: trunk/src/content/browser/in_process_webkit/indexed_db_dispatcher_host.h
|
| ===================================================================
|
| --- trunk/src/content/browser/in_process_webkit/indexed_db_dispatcher_host.h (revision 202301)
|
| +++ trunk/src/content/browser/in_process_webkit/indexed_db_dispatcher_host.h (working copy)
|
| @@ -30,6 +30,8 @@
|
| namespace WebKit {
|
| class WebIDBCursor;
|
| class WebIDBDatabase;
|
| +class WebIDBIndex;
|
| +class WebIDBObjectStore;
|
| struct WebIDBMetadata;
|
| }
|
|
|
| @@ -91,8 +93,8 @@
|
|
|
| // Helper templates.
|
| template <class ReturnType>
|
| - ReturnType* GetOrTerminateProcess(IDMap<ReturnType, IDMapOwnPointer>* map,
|
| - int32 ipc_return_object_id);
|
| + ReturnType* GetOrTerminateProcess(
|
| + IDMap<ReturnType, IDMapOwnPointer>* map, int32 ipc_return_object_id);
|
|
|
| template <typename ObjectType>
|
| void DestroyObject(IDMap<ObjectType, IDMapOwnPointer>* map,
|
| @@ -111,7 +113,7 @@
|
| ~DatabaseDispatcherHost();
|
|
|
| void CloseAll();
|
| - bool OnMessageReceived(const IPC::Message& message, bool* msg_is_ok);
|
| + bool OnMessageReceived(const IPC::Message& message, bool *msg_is_ok);
|
| void Send(IPC::Message* message);
|
|
|
| void OnCreateObjectStore(
|
| @@ -121,8 +123,7 @@
|
| int64 object_store_id);
|
| void OnCreateTransaction(
|
| const IndexedDBHostMsg_DatabaseCreateTransaction_Params&);
|
| - void OnOpen(int32 ipc_database_id,
|
| - int32 ipc_thread_id,
|
| + void OnOpen(int32 ipc_database_id, int32 ipc_thread_id,
|
| int32 ipc_callbacks_id);
|
| void OnClose(int32 ipc_database_id);
|
| void OnDestroyed(int32 ipc_database_id);
|
| @@ -131,11 +132,13 @@
|
| void OnPut(const IndexedDBHostMsg_DatabasePut_Params& params);
|
| void OnSetIndexKeys(
|
| const IndexedDBHostMsg_DatabaseSetIndexKeys_Params& params);
|
| - void OnSetIndexesReady(int32 ipc_database_id,
|
| - int64 transaction_id,
|
| - int64 object_store_id,
|
| - const std::vector<int64>& ids);
|
| - void OnOpenCursor(const IndexedDBHostMsg_DatabaseOpenCursor_Params& params);
|
| + void OnSetIndexesReady(
|
| + int32 ipc_database_id,
|
| + int64 transaction_id,
|
| + int64 object_store_id,
|
| + const std::vector<int64>& ids);
|
| + void OnOpenCursor(
|
| + const IndexedDBHostMsg_DatabaseOpenCursor_Params& params);
|
| void OnCount(const IndexedDBHostMsg_DatabaseCount_Params& params);
|
| void OnDeleteRange(
|
| const IndexedDBHostMsg_DatabaseDeleteRange_Params& params);
|
| @@ -166,7 +169,7 @@
|
| explicit CursorDispatcherHost(IndexedDBDispatcherHost* parent);
|
| ~CursorDispatcherHost();
|
|
|
| - bool OnMessageReceived(const IPC::Message& message, bool* msg_is_ok);
|
| + bool OnMessageReceived(const IPC::Message& message, bool *msg_is_ok);
|
| void Send(IPC::Message* message);
|
|
|
| void OnAdvance(int32 ipc_object_store_id,
|
| @@ -181,8 +184,7 @@
|
| int32 ipc_thread_id,
|
| int32 ipc_callbacks_id,
|
| int n);
|
| - void OnPrefetchReset(int32 ipc_cursor_id,
|
| - int used_prefetches,
|
| + void OnPrefetchReset(int32 ipc_cursor_id, int used_prefetches,
|
| int unused_prefetches);
|
| void OnDelete(int32 ipc_object_store_id,
|
| int32 ipc_thread_id,
|
|
|