| 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/renderer/renderer_webidbobjectstore_impl.h" | 5 #include "chrome/renderer/renderer_webidbobjectstore_impl.h" |
| 6 | 6 |
| 7 #include "chrome/renderer/indexed_db_dispatcher.h" | |
| 8 #include "chrome/renderer/render_thread.h" | 7 #include "chrome/renderer/render_thread.h" |
| 9 #include "chrome/renderer/renderer_webidbindex_impl.h" | 8 #include "chrome/renderer/renderer_webidbindex_impl.h" |
| 10 #include "chrome/renderer/renderer_webidbtransaction_impl.h" | 9 #include "chrome/renderer/renderer_webidbtransaction_impl.h" |
| 11 #include "content/common/indexed_db_messages.h" | 10 #include "content/common/indexed_db_messages.h" |
| 12 #include "content/common/serialized_script_value.h" | 11 #include "content/common/serialized_script_value.h" |
| 12 #include "content/renderer/indexed_db_dispatcher.h" |
| 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDOMStringList.h" | 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDOMStringList.h" |
| 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKey.h" | 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKey.h" |
| 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKeyRange.h" | 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKeyRange.h" |
| 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBTransaction.h" | 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBTransaction.h" |
| 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSerializedScriptVa
lue.h" | 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSerializedScriptVa
lue.h" |
| 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" | 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" |
| 19 | 19 |
| 20 using WebKit::WebDOMStringList; | 20 using WebKit::WebDOMStringList; |
| 21 using WebKit::WebExceptionCode; | 21 using WebKit::WebExceptionCode; |
| 22 using WebKit::WebFrame; | 22 using WebKit::WebFrame; |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 const WebIDBKeyRange& idb_key_range, | 162 const WebIDBKeyRange& idb_key_range, |
| 163 unsigned short direction, WebIDBCallbacks* callbacks, | 163 unsigned short direction, WebIDBCallbacks* callbacks, |
| 164 const WebIDBTransaction& transaction, | 164 const WebIDBTransaction& transaction, |
| 165 WebExceptionCode& ec) { | 165 WebExceptionCode& ec) { |
| 166 IndexedDBDispatcher* dispatcher = | 166 IndexedDBDispatcher* dispatcher = |
| 167 RenderThread::current()->indexed_db_dispatcher(); | 167 RenderThread::current()->indexed_db_dispatcher(); |
| 168 dispatcher->RequestIDBObjectStoreOpenCursor( | 168 dispatcher->RequestIDBObjectStoreOpenCursor( |
| 169 idb_key_range, direction, callbacks, idb_object_store_id_, | 169 idb_key_range, direction, callbacks, idb_object_store_id_, |
| 170 transaction, &ec); | 170 transaction, &ec); |
| 171 } | 171 } |
| OLD | NEW |