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 "content/browser/in_process_webkit/indexed_db_dispatcher_host.h" | 5 #include "content/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/content_settings/host_content_settings_map.h" | 9 #include "chrome/browser/content_settings/host_content_settings_map.h" |
10 #include "chrome/browser/metrics/user_metrics.h" | 10 #include "chrome/browser/metrics/user_metrics.h" |
11 #include "chrome/browser/profiles/profile.h" | 11 #include "chrome/browser/profiles/profile.h" |
12 #include "chrome/browser/renderer_host/browser_render_process_host.h" | 12 #include "chrome/browser/renderer_host/browser_render_process_host.h" |
13 #include "chrome/common/chrome_switches.h" | 13 #include "chrome/common/chrome_switches.h" |
14 #include "chrome/common/indexed_db_messages.h" | |
15 #include "content/browser/browser_thread.h" | 14 #include "content/browser/browser_thread.h" |
16 #include "content/browser/in_process_webkit/indexed_db_callbacks.h" | 15 #include "content/browser/in_process_webkit/indexed_db_callbacks.h" |
17 #include "content/browser/in_process_webkit/indexed_db_database_callbacks.h" | 16 #include "content/browser/in_process_webkit/indexed_db_database_callbacks.h" |
18 #include "content/browser/in_process_webkit/indexed_db_transaction_callbacks.h" | 17 #include "content/browser/in_process_webkit/indexed_db_transaction_callbacks.h" |
19 #include "content/browser/renderer_host/render_message_filter.h" | 18 #include "content/browser/renderer_host/render_message_filter.h" |
20 #include "content/browser/renderer_host/render_view_host_notification_task.h" | 19 #include "content/browser/renderer_host/render_view_host_notification_task.h" |
| 20 #include "content/common/indexed_db_messages.h" |
21 #include "chrome/common/result_codes.h" | 21 #include "chrome/common/result_codes.h" |
22 #include "googleurl/src/gurl.h" | 22 #include "googleurl/src/gurl.h" |
23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDOMStringList.h" | 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDOMStringList.h" |
24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCursor.h" | 24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCursor.h" |
25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBDatabase.h" | 25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBDatabase.h" |
26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBDatabaseError.h
" | 26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBDatabaseError.h
" |
27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKeyRange.h" | 27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKeyRange.h" |
28 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBIndex.h" | 28 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBIndex.h" |
29 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBFactory.h" | 29 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBFactory.h" |
30 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBObjectStore.h" | 30 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBObjectStore.h" |
(...skipping 1025 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1056 if (!idb_transaction) | 1056 if (!idb_transaction) |
1057 return; | 1057 return; |
1058 | 1058 |
1059 idb_transaction->didCompleteTaskEvents(); | 1059 idb_transaction->didCompleteTaskEvents(); |
1060 } | 1060 } |
1061 | 1061 |
1062 void IndexedDBDispatcherHost::TransactionDispatcherHost::OnDestroyed( | 1062 void IndexedDBDispatcherHost::TransactionDispatcherHost::OnDestroyed( |
1063 int32 object_id) { | 1063 int32 object_id) { |
1064 parent_->DestroyObject(&map_, object_id); | 1064 parent_->DestroyObject(&map_, object_id); |
1065 } | 1065 } |
OLD | NEW |