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 // TODO(alecflett): Remove this as part of | |
124 // https://bugs.webkit.org/show_bug.cgi?id=102733. | |
125 void OnTransaction(int32 thread_id, | |
126 int32 idb_database_id, | |
127 const std::vector<int64>& scope, | |
128 int32 mode, | |
129 int32* idb_transaction_id); | |
130 void OnCreateTransaction(int32 thread_id, | 123 void OnCreateTransaction(int32 thread_id, |
131 int32 idb_database_id, | 124 int32 idb_database_id, |
132 int64 transaction_id, | 125 int64 transaction_id, |
133 const std::vector<int64>& scope, | 126 const std::vector<int64>& scope, |
134 int32 mode, | 127 int32 mode, |
135 int32* idb_transaction_id); | 128 int32* idb_transaction_id); |
136 void OnOpen(int32 idb_database_id, int32 thread_id, int32 response_id); | 129 void OnOpen(int32 idb_database_id, int32 thread_id, int32 response_id); |
137 void OnClose(int32 idb_database_id); | 130 void OnClose(int32 idb_database_id); |
138 void OnDestroyed(int32 idb_database_id); | 131 void OnDestroyed(int32 idb_database_id); |
139 | 132 |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 | 285 |
293 // Used to dispatch messages to the correct view host. | 286 // Used to dispatch messages to the correct view host. |
294 int process_id_; | 287 int process_id_; |
295 | 288 |
296 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBDispatcherHost); | 289 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBDispatcherHost); |
297 }; | 290 }; |
298 | 291 |
299 } // namespace content | 292 } // namespace content |
300 | 293 |
301 #endif // CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_DISPATCHER_HOST_H_ | 294 #endif // CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_DISPATCHER_HOST_H_ |
OLD | NEW |