| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/renderer/renderer_webidbobjectstore_impl.h" | 5 #include "content/renderer/renderer_webidbobjectstore_impl.h" |
| 6 | 6 |
| 7 #include "content/common/indexed_db_messages.h" | 7 #include "content/common/indexed_db_messages.h" |
| 8 #include "content/public/common/serialized_script_value.h" | 8 #include "content/public/common/serialized_script_value.h" |
| 9 #include "content/renderer/indexed_db_dispatcher.h" | 9 #include "content/renderer/indexed_db_dispatcher.h" |
| 10 #include "content/renderer/render_thread_impl.h" | 10 #include "content/renderer/render_thread_impl.h" |
| 11 #include "content/renderer/renderer_webidbindex_impl.h" | 11 #include "content/renderer/renderer_webidbindex_impl.h" |
| 12 #include "content/renderer/renderer_webidbtransaction_impl.h" | 12 #include "content/renderer/renderer_webidbtransaction_impl.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/platform/WebSerialize
dScriptValue.h" |
| 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" | 18 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/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; |
| 23 using WebKit::WebIDBCallbacks; | 23 using WebKit::WebIDBCallbacks; |
| 24 using WebKit::WebIDBKeyRange; | 24 using WebKit::WebIDBKeyRange; |
| 25 using WebKit::WebIDBIndex; | 25 using WebKit::WebIDBIndex; |
| 26 using WebKit::WebIDBKey; | 26 using WebKit::WebIDBKey; |
| 27 using WebKit::WebIDBTransaction; | 27 using WebKit::WebIDBTransaction; |
| 28 using WebKit::WebSerializedScriptValue; | 28 using WebKit::WebSerializedScriptValue; |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 const WebIDBKeyRange& idb_key_range, | 164 const WebIDBKeyRange& idb_key_range, |
| 165 unsigned short direction, WebIDBCallbacks* callbacks, | 165 unsigned short direction, WebIDBCallbacks* callbacks, |
| 166 const WebIDBTransaction& transaction, | 166 const WebIDBTransaction& transaction, |
| 167 WebExceptionCode& ec) { | 167 WebExceptionCode& ec) { |
| 168 IndexedDBDispatcher* dispatcher = | 168 IndexedDBDispatcher* dispatcher = |
| 169 RenderThreadImpl::current()->indexed_db_dispatcher(); | 169 RenderThreadImpl::current()->indexed_db_dispatcher(); |
| 170 dispatcher->RequestIDBObjectStoreOpenCursor( | 170 dispatcher->RequestIDBObjectStoreOpenCursor( |
| 171 idb_key_range, direction, callbacks, idb_object_store_id_, | 171 idb_key_range, direction, callbacks, idb_object_store_id_, |
| 172 transaction, &ec); | 172 transaction, &ec); |
| 173 } | 173 } |
| OLD | NEW |