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 #include "content/common/indexed_db/proxy_webidbtransaction_impl.h" | 5 #include "content/common/indexed_db/proxy_webidbtransaction_impl.h" |
6 | 6 |
7 #include "content/common/indexed_db/indexed_db_messages.h" | 7 #include "content/common/indexed_db/indexed_db_messages.h" |
8 #include "content/common/indexed_db/indexed_db_dispatcher.h" | 8 #include "content/common/indexed_db/indexed_db_dispatcher.h" |
9 #include "content/common/indexed_db/proxy_webidbobjectstore_impl.h" | 9 #include "content/common/indexed_db/proxy_webidbobjectstore_impl.h" |
10 #include "content/common/child_thread.h" | 10 #include "content/common/child_thread.h" |
| 11 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" |
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBObjectStore.h" | 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBObjectStore.h" |
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBTransactionCall
backs.h" | 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBTransactionCall
backs.h" |
13 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" | |
14 | 14 |
15 using WebKit::WebIDBObjectStore; | 15 using WebKit::WebIDBObjectStore; |
16 using WebKit::WebIDBTransactionCallbacks; | 16 using WebKit::WebIDBTransactionCallbacks; |
17 using WebKit::WebString; | 17 using WebKit::WebString; |
18 | 18 |
19 namespace content { | 19 namespace content { |
20 | 20 |
21 RendererWebIDBTransactionImpl::RendererWebIDBTransactionImpl( | 21 RendererWebIDBTransactionImpl::RendererWebIDBTransactionImpl( |
22 int32 ipc_transaction_id) | 22 int32 ipc_transaction_id) |
23 : ipc_transaction_id_(ipc_transaction_id) { | 23 : ipc_transaction_id_(ipc_transaction_id) { |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 | 62 |
63 void RendererWebIDBTransactionImpl::setCallbacks( | 63 void RendererWebIDBTransactionImpl::setCallbacks( |
64 WebIDBTransactionCallbacks* callbacks) { | 64 WebIDBTransactionCallbacks* callbacks) { |
65 IndexedDBDispatcher* dispatcher = | 65 IndexedDBDispatcher* dispatcher = |
66 IndexedDBDispatcher::ThreadSpecificInstance(); | 66 IndexedDBDispatcher::ThreadSpecificInstance(); |
67 dispatcher->RegisterWebIDBTransactionCallbacks(callbacks, | 67 dispatcher->RegisterWebIDBTransactionCallbacks(callbacks, |
68 ipc_transaction_id_); | 68 ipc_transaction_id_); |
69 } | 69 } |
70 | 70 |
71 } // namespace content | 71 } // namespace content |
OLD | NEW |