| 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 "chrome/browser/chrome_thread.h" | 8 #include "chrome/browser/chrome_thread.h" |
| 9 #include "chrome/browser/in_process_webkit/indexed_db_callbacks.h" | 9 #include "chrome/browser/in_process_webkit/indexed_db_callbacks.h" |
| 10 #include "chrome/browser/renderer_host/browser_render_process_host.h" | 10 #include "chrome/browser/renderer_host/browser_render_process_host.h" |
| 11 #include "chrome/browser/renderer_host/resource_message_filter.h" | 11 #include "chrome/browser/renderer_host/resource_message_filter.h" |
| 12 #include "chrome/common/chrome_switches.h" | 12 #include "chrome/common/chrome_switches.h" |
| 13 #include "chrome/common/render_messages.h" | 13 #include "chrome/common/render_messages.h" |
| 14 #include "chrome/common/render_messages_params.h" |
| 14 #include "chrome/common/serialized_script_value.h" | 15 #include "chrome/common/serialized_script_value.h" |
| 15 #include "third_party/WebKit/WebKit/chromium/public/WebDOMStringList.h" | 16 #include "third_party/WebKit/WebKit/chromium/public/WebDOMStringList.h" |
| 16 #include "third_party/WebKit/WebKit/chromium/public/WebIDBCursor.h" | 17 #include "third_party/WebKit/WebKit/chromium/public/WebIDBCursor.h" |
| 17 #include "third_party/WebKit/WebKit/chromium/public/WebIDBDatabase.h" | 18 #include "third_party/WebKit/WebKit/chromium/public/WebIDBDatabase.h" |
| 18 #include "third_party/WebKit/WebKit/chromium/public/WebIDBDatabaseError.h" | 19 #include "third_party/WebKit/WebKit/chromium/public/WebIDBDatabaseError.h" |
| 19 #include "third_party/WebKit/WebKit/chromium/public/WebIDBKeyRange.h" | 20 #include "third_party/WebKit/WebKit/chromium/public/WebIDBKeyRange.h" |
| 20 #include "third_party/WebKit/WebKit/chromium/public/WebIDBIndex.h" | 21 #include "third_party/WebKit/WebKit/chromium/public/WebIDBIndex.h" |
| 21 #include "third_party/WebKit/WebKit/chromium/public/WebIDBFactory.h" | 22 #include "third_party/WebKit/WebKit/chromium/public/WebIDBFactory.h" |
| 22 #include "third_party/WebKit/WebKit/chromium/public/WebIDBObjectStore.h" | 23 #include "third_party/WebKit/WebKit/chromium/public/WebIDBObjectStore.h" |
| 23 #include "third_party/WebKit/WebKit/chromium/public/WebIDBTransaction.h" | 24 #include "third_party/WebKit/WebKit/chromium/public/WebIDBTransaction.h" |
| (...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 784 ViewHostMsg_IDBTransactionObjectStore::WriteReplyParams( | 785 ViewHostMsg_IDBTransactionObjectStore::WriteReplyParams( |
| 785 reply_msg, object_id); | 786 reply_msg, object_id); |
| 786 parent_->Send(reply_msg); | 787 parent_->Send(reply_msg); |
| 787 } | 788 } |
| 788 | 789 |
| 789 void IndexedDBDispatcherHost::TransactionDispatcherHost::OnDestroyed( | 790 void IndexedDBDispatcherHost::TransactionDispatcherHost::OnDestroyed( |
| 790 int32 object_id) { | 791 int32 object_id) { |
| 791 parent_->DestroyObject( | 792 parent_->DestroyObject( |
| 792 &map_, object_id, ViewHostMsg_IDBTransactionDestroyed::ID); | 793 &map_, object_id, ViewHostMsg_IDBTransactionDestroyed::ID); |
| 793 } | 794 } |
| OLD | NEW |