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/browser/indexed_db/indexed_db_dispatcher_host.h" | 5 #include "content/browser/indexed_db/indexed_db_dispatcher_host.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 #include "base/process.h" | 10 #include "base/process/process.h" |
11 #include "base/process_util.h" | |
12 #include "base/strings/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
13 #include "content/browser/indexed_db/indexed_db_callbacks.h" | 12 #include "content/browser/indexed_db/indexed_db_callbacks.h" |
14 #include "content/browser/indexed_db/indexed_db_connection.h" | 13 #include "content/browser/indexed_db/indexed_db_connection.h" |
15 #include "content/browser/indexed_db/indexed_db_context_impl.h" | 14 #include "content/browser/indexed_db/indexed_db_context_impl.h" |
16 #include "content/browser/indexed_db/indexed_db_cursor.h" | 15 #include "content/browser/indexed_db/indexed_db_cursor.h" |
17 #include "content/browser/indexed_db/indexed_db_database_callbacks.h" | 16 #include "content/browser/indexed_db/indexed_db_database_callbacks.h" |
18 #include "content/browser/indexed_db/indexed_db_metadata.h" | 17 #include "content/browser/indexed_db/indexed_db_metadata.h" |
19 #include "content/browser/renderer_host/render_message_filter.h" | 18 #include "content/browser/renderer_host/render_message_filter.h" |
20 #include "content/common/indexed_db/indexed_db_messages.h" | 19 #include "content/common/indexed_db/indexed_db_messages.h" |
21 #include "content/public/browser/browser_thread.h" | 20 #include "content/public/browser/browser_thread.h" |
(...skipping 824 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
846 } | 845 } |
847 | 846 |
848 void IndexedDBDispatcherHost::CursorDispatcherHost::OnDestroyed( | 847 void IndexedDBDispatcherHost::CursorDispatcherHost::OnDestroyed( |
849 int32 ipc_object_id) { | 848 int32 ipc_object_id) { |
850 DCHECK( | 849 DCHECK( |
851 parent_->indexed_db_context_->TaskRunner()->RunsTasksOnCurrentThread()); | 850 parent_->indexed_db_context_->TaskRunner()->RunsTasksOnCurrentThread()); |
852 parent_->DestroyObject(&map_, ipc_object_id); | 851 parent_->DestroyObject(&map_, ipc_object_id); |
853 } | 852 } |
854 | 853 |
855 } // namespace content | 854 } // namespace content |
OLD | NEW |