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/indexed_db_message_filter.h" | 5 #include "content/child/indexed_db/indexed_db_message_filter.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/location.h" | 8 #include "base/location.h" |
9 #include "base/message_loop_proxy.h" | 9 #include "base/message_loop/message_loop_proxy.h" |
10 #include "base/pickle.h" | 10 #include "base/pickle.h" |
11 #include "content/child/child_thread.h" | 11 #include "content/child/child_thread.h" |
12 #include "content/child/indexed_db/indexed_db_dispatcher.h" | 12 #include "content/child/indexed_db/indexed_db_dispatcher.h" |
13 #include "content/common/indexed_db/indexed_db_messages.h" | 13 #include "content/common/indexed_db/indexed_db_messages.h" |
14 #include "webkit/glue/worker_task_runner.h" | 14 #include "webkit/glue/worker_task_runner.h" |
15 | 15 |
16 using webkit_glue::WorkerTaskRunner; | 16 using webkit_glue::WorkerTaskRunner; |
17 | 17 |
18 namespace content { | 18 namespace content { |
19 | 19 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 | 70 |
71 void IndexedDBMessageFilter::OnStaleUpgradeNeeded( | 71 void IndexedDBMessageFilter::OnStaleUpgradeNeeded( |
72 const IndexedDBMsg_CallbacksUpgradeNeeded_Params& p) { | 72 const IndexedDBMsg_CallbacksUpgradeNeeded_Params& p) { |
73 scoped_refptr<IPC::SyncMessageFilter> filter( | 73 scoped_refptr<IPC::SyncMessageFilter> filter( |
74 ChildThread::current()->sync_message_filter()); | 74 ChildThread::current()->sync_message_filter()); |
75 filter->Send( | 75 filter->Send( |
76 new IndexedDBHostMsg_DatabaseClose(p.ipc_database_id)); | 76 new IndexedDBHostMsg_DatabaseClose(p.ipc_database_id)); |
77 } | 77 } |
78 | 78 |
79 } // namespace content | 79 } // namespace content |
OLD | NEW |