OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/browser/in_process_webkit/indexed_db_dispatcher_host.h" | 5 #include "chrome/browser/in_process_webkit/indexed_db_dispatcher_host.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/utf_string_conversions.h" | 8 #include "base/utf_string_conversions.h" |
9 #include "chrome/browser/browser_thread.h" | 9 #include "chrome/browser/browser_thread.h" |
10 #include "chrome/browser/host_content_settings_map.h" | 10 #include "chrome/browser/content_settings/host_content_settings_map.h" |
11 #include "chrome/browser/in_process_webkit/indexed_db_callbacks.h" | 11 #include "chrome/browser/in_process_webkit/indexed_db_callbacks.h" |
12 #include "chrome/browser/profile.h" | 12 #include "chrome/browser/profile.h" |
13 #include "chrome/browser/renderer_host/browser_render_process_host.h" | 13 #include "chrome/browser/renderer_host/browser_render_process_host.h" |
14 #include "chrome/browser/renderer_host/render_view_host_notification_task.h" | 14 #include "chrome/browser/renderer_host/render_view_host_notification_task.h" |
15 #include "chrome/browser/renderer_host/resource_message_filter.h" | 15 #include "chrome/browser/renderer_host/resource_message_filter.h" |
16 #include "chrome/common/chrome_switches.h" | 16 #include "chrome/common/chrome_switches.h" |
17 #include "chrome/common/indexed_db_key.h" | 17 #include "chrome/common/indexed_db_key.h" |
18 #include "chrome/common/render_messages.h" | 18 #include "chrome/common/render_messages.h" |
19 #include "chrome/common/render_messages_params.h" | 19 #include "chrome/common/render_messages_params.h" |
20 #include "chrome/common/serialized_script_value.h" | 20 #include "chrome/common/serialized_script_value.h" |
(...skipping 1126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1147 return; | 1147 return; |
1148 | 1148 |
1149 idb_transaction->didCompleteTaskEvents(); | 1149 idb_transaction->didCompleteTaskEvents(); |
1150 } | 1150 } |
1151 | 1151 |
1152 void IndexedDBDispatcherHost::TransactionDispatcherHost::OnDestroyed( | 1152 void IndexedDBDispatcherHost::TransactionDispatcherHost::OnDestroyed( |
1153 int32 object_id) { | 1153 int32 object_id) { |
1154 parent_->DestroyObject( | 1154 parent_->DestroyObject( |
1155 &map_, object_id, ViewHostMsg_IDBTransactionDestroyed::ID); | 1155 &map_, object_id, ViewHostMsg_IDBTransactionDestroyed::ID); |
1156 } | 1156 } |
OLD | NEW |