Index: content/browser/in_process_webkit/indexed_db_dispatcher_host.h |
diff --git a/content/browser/in_process_webkit/indexed_db_dispatcher_host.h b/content/browser/in_process_webkit/indexed_db_dispatcher_host.h |
index 9908e317cc7a1decaa403c306ea25833b06b39ed..48a75d744cdf5dfa559f9c53ebff0aa9b72eb88e 100644 |
--- a/content/browser/in_process_webkit/indexed_db_dispatcher_host.h |
+++ b/content/browser/in_process_webkit/indexed_db_dispatcher_host.h |
@@ -30,6 +30,8 @@ struct IndexedDBHostMsg_FactoryOpen_Params; |
namespace WebKit { |
class WebIDBCursor; |
class WebIDBDatabase; |
+class WebIDBIndex; |
+class WebIDBObjectStore; |
struct WebIDBMetadata; |
} |
@@ -91,8 +93,8 @@ class IndexedDBDispatcherHost : public BrowserMessageFilter { |
// 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 @@ class IndexedDBDispatcherHost : public BrowserMessageFilter { |
~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 @@ class IndexedDBDispatcherHost : public BrowserMessageFilter { |
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 @@ class IndexedDBDispatcherHost : public BrowserMessageFilter { |
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 @@ class IndexedDBDispatcherHost : public BrowserMessageFilter { |
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 @@ class IndexedDBDispatcherHost : public BrowserMessageFilter { |
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, |