| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/renderer/renderer_webidbtransaction_impl.h" | 5 #include "content/renderer/renderer_webidbtransaction_impl.h" |
| 6 | 6 |
| 7 #include "content/common/indexed_db_messages.h" | 7 #include "content/common/indexed_db_messages.h" |
| 8 #include "content/renderer/indexed_db_dispatcher.h" | 8 #include "content/renderer/indexed_db_dispatcher.h" |
| 9 #include "content/renderer/render_thread_impl.h" | 9 #include "content/renderer/render_thread_impl.h" |
| 10 #include "content/renderer/renderer_webidbobjectstore_impl.h" | 10 #include "content/renderer/renderer_webidbobjectstore_impl.h" |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 { | 61 { |
| 62 ChildThread::current()->Send( | 62 ChildThread::current()->Send( |
| 63 new IndexedDBHostMsg_TransactionDidCompleteTaskEvents( | 63 new IndexedDBHostMsg_TransactionDidCompleteTaskEvents( |
| 64 idb_transaction_id_)); | 64 idb_transaction_id_)); |
| 65 } | 65 } |
| 66 | 66 |
| 67 void RendererWebIDBTransactionImpl::setCallbacks( | 67 void RendererWebIDBTransactionImpl::setCallbacks( |
| 68 WebIDBTransactionCallbacks* callbacks) | 68 WebIDBTransactionCallbacks* callbacks) |
| 69 { | 69 { |
| 70 IndexedDBDispatcher* dispatcher = | 70 IndexedDBDispatcher* dispatcher = |
| 71 RenderThreadImpl::current()->indexed_db_dispatcher(); | 71 IndexedDBDispatcher::ThreadSpecificInstance(); |
| 72 dispatcher->RegisterWebIDBTransactionCallbacks(callbacks, | 72 dispatcher->RegisterWebIDBTransactionCallbacks(callbacks, |
| 73 idb_transaction_id_); | 73 idb_transaction_id_); |
| 74 } | 74 } |
| OLD | NEW |