| OLD | NEW |
| 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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 ~ObjectStoreDispatcherHost(); | 190 ~ObjectStoreDispatcherHost(); |
| 191 | 191 |
| 192 bool OnMessageReceived(const IPC::Message& message, bool *msg_is_ok); | 192 bool OnMessageReceived(const IPC::Message& message, bool *msg_is_ok); |
| 193 void Send(IPC::Message* message); | 193 void Send(IPC::Message* message); |
| 194 | 194 |
| 195 void OnName(int32 idb_object_store_id, string16* name); | 195 void OnName(int32 idb_object_store_id, string16* name); |
| 196 void OnKeyPath(int32 idb_object_store_id, | 196 void OnKeyPath(int32 idb_object_store_id, |
| 197 content::IndexedDBKeyPath* keyPath); | 197 content::IndexedDBKeyPath* keyPath); |
| 198 void OnIndexNames(int32 idb_object_store_id, | 198 void OnIndexNames(int32 idb_object_store_id, |
| 199 std::vector<string16>* index_names); | 199 std::vector<string16>* index_names); |
| 200 void OnAutoIncrement(int32 idb_object_store_id, bool* auto_increment); |
| 200 void OnGet(int idb_object_store_id, | 201 void OnGet(int idb_object_store_id, |
| 201 int32 thread_id, | 202 int32 thread_id, |
| 202 int32 response_id, | 203 int32 response_id, |
| 203 const content::IndexedDBKeyRange& key_range, | 204 const content::IndexedDBKeyRange& key_range, |
| 204 int32 transaction_id, | 205 int32 transaction_id, |
| 205 WebKit::WebExceptionCode* ec); | 206 WebKit::WebExceptionCode* ec); |
| 206 void OnPut(const IndexedDBHostMsg_ObjectStorePut_Params& params, | 207 void OnPut(const IndexedDBHostMsg_ObjectStorePut_Params& params, |
| 207 WebKit::WebExceptionCode* ec); | 208 WebKit::WebExceptionCode* ec); |
| 208 void OnDelete(int idb_object_store_id, | 209 void OnDelete(int idb_object_store_id, |
| 209 int32 thread_id, | 210 int32 thread_id, |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 scoped_ptr<CursorDispatcherHost> cursor_dispatcher_host_; | 326 scoped_ptr<CursorDispatcherHost> cursor_dispatcher_host_; |
| 326 scoped_ptr<TransactionDispatcherHost> transaction_dispatcher_host_; | 327 scoped_ptr<TransactionDispatcherHost> transaction_dispatcher_host_; |
| 327 | 328 |
| 328 // Used to dispatch messages to the correct view host. | 329 // Used to dispatch messages to the correct view host. |
| 329 int process_id_; | 330 int process_id_; |
| 330 | 331 |
| 331 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBDispatcherHost); | 332 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBDispatcherHost); |
| 332 }; | 333 }; |
| 333 | 334 |
| 334 #endif // CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_DISPATCHER_HOST_H_ | 335 #endif // CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_DISPATCHER_HOST_H_ |
| OLD | NEW |