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 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 void Send(IPC::Message* message); | 184 void Send(IPC::Message* message); |
185 | 185 |
186 void OnGet(int idb_object_store_id, | 186 void OnGet(int idb_object_store_id, |
187 int32 thread_id, | 187 int32 thread_id, |
188 int32 response_id, | 188 int32 response_id, |
189 const content::IndexedDBKeyRange& key_range, | 189 const content::IndexedDBKeyRange& key_range, |
190 int32 transaction_id, | 190 int32 transaction_id, |
191 WebKit::WebExceptionCode* ec); | 191 WebKit::WebExceptionCode* ec); |
192 void OnPut(const IndexedDBHostMsg_ObjectStorePut_Params& params, | 192 void OnPut(const IndexedDBHostMsg_ObjectStorePut_Params& params, |
193 WebKit::WebExceptionCode* ec); | 193 WebKit::WebExceptionCode* ec); |
| 194 void OnSetIndexKeys( |
| 195 int32 idb_object_store_id, |
| 196 const content::IndexedDBKey& primary_key, |
| 197 const std::vector<string16>& index_names, |
| 198 const std::vector<std::vector<content::IndexedDBKey> >& index_keys, |
| 199 int32 transaction_id); |
| 200 void OnSetIndexesReady(int32 idb_object_store_id, |
| 201 const std::vector<string16>& names, |
| 202 int32 transaction_id); |
| 203 |
194 void OnDelete(int idb_object_store_id, | 204 void OnDelete(int idb_object_store_id, |
195 int32 thread_id, | 205 int32 thread_id, |
196 int32 response_id, | 206 int32 response_id, |
197 const content::IndexedDBKeyRange& key_range, | 207 const content::IndexedDBKeyRange& key_range, |
198 int32 transaction_id, | 208 int32 transaction_id, |
199 WebKit::WebExceptionCode* ec); | 209 WebKit::WebExceptionCode* ec); |
200 void OnClear(int idb_object_store_id, | 210 void OnClear(int idb_object_store_id, |
201 int32 thread_id, | 211 int32 thread_id, |
202 int32 response_id, | 212 int32 response_id, |
203 int32 transaction_id, | 213 int32 transaction_id, |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 scoped_ptr<CursorDispatcherHost> cursor_dispatcher_host_; | 313 scoped_ptr<CursorDispatcherHost> cursor_dispatcher_host_; |
304 scoped_ptr<TransactionDispatcherHost> transaction_dispatcher_host_; | 314 scoped_ptr<TransactionDispatcherHost> transaction_dispatcher_host_; |
305 | 315 |
306 // Used to dispatch messages to the correct view host. | 316 // Used to dispatch messages to the correct view host. |
307 int process_id_; | 317 int process_id_; |
308 | 318 |
309 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBDispatcherHost); | 319 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBDispatcherHost); |
310 }; | 320 }; |
311 | 321 |
312 #endif // CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_DISPATCHER_HOST_H_ | 322 #endif // CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_DISPATCHER_HOST_H_ |
OLD | NEW |