OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "content/child/indexed_db/proxy_webidbdatabase_impl.h" | 5 #include "content/child/indexed_db/proxy_webidbdatabase_impl.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
| 9 #include "content/child/child_thread.h" |
9 #include "content/child/indexed_db/indexed_db_dispatcher.h" | 10 #include "content/child/indexed_db/indexed_db_dispatcher.h" |
10 #include "content/common/child_thread.h" | |
11 #include "content/common/indexed_db/indexed_db_messages.h" | 11 #include "content/common/indexed_db/indexed_db_messages.h" |
12 #include "third_party/WebKit/public/platform/WebIDBKeyPath.h" | 12 #include "third_party/WebKit/public/platform/WebIDBKeyPath.h" |
13 #include "third_party/WebKit/public/platform/WebIDBMetadata.h" | 13 #include "third_party/WebKit/public/platform/WebIDBMetadata.h" |
14 #include "third_party/WebKit/public/platform/WebString.h" | 14 #include "third_party/WebKit/public/platform/WebString.h" |
15 #include "third_party/WebKit/public/platform/WebVector.h" | 15 #include "third_party/WebKit/public/platform/WebVector.h" |
16 #include "webkit/glue/worker_task_runner.h" | 16 #include "webkit/glue/worker_task_runner.h" |
17 | 17 |
18 using WebKit::WebIDBCallbacks; | 18 using WebKit::WebIDBCallbacks; |
19 using WebKit::WebIDBDatabaseCallbacks; | 19 using WebKit::WebIDBDatabaseCallbacks; |
20 using WebKit::WebIDBMetadata; | 20 using WebKit::WebIDBMetadata; |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 IndexedDBDispatcher::Send(new IndexedDBHostMsg_DatabaseAbort( | 255 IndexedDBDispatcher::Send(new IndexedDBHostMsg_DatabaseAbort( |
256 ipc_database_id_, transaction_id)); | 256 ipc_database_id_, transaction_id)); |
257 } | 257 } |
258 | 258 |
259 void RendererWebIDBDatabaseImpl::commit(long long transaction_id) { | 259 void RendererWebIDBDatabaseImpl::commit(long long transaction_id) { |
260 IndexedDBDispatcher::Send(new IndexedDBHostMsg_DatabaseCommit( | 260 IndexedDBDispatcher::Send(new IndexedDBHostMsg_DatabaseCommit( |
261 ipc_database_id_, transaction_id)); | 261 ipc_database_id_, transaction_id)); |
262 } | 262 } |
263 | 263 |
264 } // namespace content | 264 } // namespace content |
OLD | NEW |