| 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 | 113 |
| 114 void OnMetadata(int32 idb_database_id, | 114 void OnMetadata(int32 idb_database_id, |
| 115 IndexedDBDatabaseMetadata* metadata); | 115 IndexedDBDatabaseMetadata* metadata); |
| 116 void OnCreateObjectStore( | 116 void OnCreateObjectStore( |
| 117 const IndexedDBHostMsg_DatabaseCreateObjectStore_Params& params, | 117 const IndexedDBHostMsg_DatabaseCreateObjectStore_Params& params, |
| 118 int32* object_store_id, WebKit::WebExceptionCode* ec); | 118 int32* object_store_id, WebKit::WebExceptionCode* ec); |
| 119 void OnDeleteObjectStore(int32 idb_database_id, | 119 void OnDeleteObjectStore(int32 idb_database_id, |
| 120 int64 object_store_id, | 120 int64 object_store_id, |
| 121 int32 transaction_id, | 121 int32 transaction_id, |
| 122 WebKit::WebExceptionCode* ec); | 122 WebKit::WebExceptionCode* ec); |
| 123 void OnSetVersion(int32 idb_database_id, | |
| 124 int32 thread_id, | |
| 125 int32 response_id, | |
| 126 const string16& version, | |
| 127 WebKit::WebExceptionCode* ec); | |
| 128 void OnTransaction(int32 thread_id, | 123 void OnTransaction(int32 thread_id, |
| 129 int32 idb_database_id, | 124 int32 idb_database_id, |
| 130 const std::vector<int64>& names, | 125 const std::vector<int64>& names, |
| 131 int32 mode, | 126 int32 mode, |
| 132 int32* idb_transaction_id); | 127 int32* idb_transaction_id); |
| 133 void OnOpen(int32 idb_database_id, int32 thread_id, int32 response_id); | 128 void OnOpen(int32 idb_database_id, int32 thread_id, int32 response_id); |
| 134 void OnClose(int32 idb_database_id); | 129 void OnClose(int32 idb_database_id); |
| 135 void OnDestroyed(int32 idb_database_id); | 130 void OnDestroyed(int32 idb_database_id); |
| 136 | 131 |
| 137 IndexedDBDispatcherHost* parent_; | 132 IndexedDBDispatcherHost* parent_; |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 | 284 |
| 290 // Used to dispatch messages to the correct view host. | 285 // Used to dispatch messages to the correct view host. |
| 291 int process_id_; | 286 int process_id_; |
| 292 | 287 |
| 293 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBDispatcherHost); | 288 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBDispatcherHost); |
| 294 }; | 289 }; |
| 295 | 290 |
| 296 } // namespace content | 291 } // namespace content |
| 297 | 292 |
| 298 #endif // CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_DISPATCHER_HOST_H_ | 293 #endif // CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_DISPATCHER_HOST_H_ |
| OLD | NEW |