OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/child/indexed_db/proxy_webidbcursor_impl.h" | 5 #include "content/child/indexed_db/proxy_webidbcursor_impl.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
| 9 #include "content/child/child_thread.h" |
9 #include "content/child/indexed_db/indexed_db_dispatcher.h" | 10 #include "content/child/indexed_db/indexed_db_dispatcher.h" |
10 #include "content/common/child_thread.h" | |
11 #include "content/common/indexed_db/indexed_db_messages.h" | 11 #include "content/common/indexed_db/indexed_db_messages.h" |
12 | 12 |
13 using WebKit::WebData; | 13 using WebKit::WebData; |
14 using WebKit::WebIDBCallbacks; | 14 using WebKit::WebIDBCallbacks; |
15 using WebKit::WebIDBKey; | 15 using WebKit::WebIDBKey; |
16 | 16 |
17 namespace content { | 17 namespace content { |
18 | 18 |
19 RendererWebIDBCursorImpl::RendererWebIDBCursorImpl(int32 ipc_cursor_id) | 19 RendererWebIDBCursorImpl::RendererWebIDBCursorImpl(int32 ipc_cursor_id) |
20 : ipc_cursor_id_(ipc_cursor_id), | 20 : ipc_cursor_id_(ipc_cursor_id), |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 dispatcher->RequestIDBCursorPrefetchReset( | 148 dispatcher->RequestIDBCursorPrefetchReset( |
149 used_prefetches_, prefetch_keys_.size(), ipc_cursor_id_); | 149 used_prefetches_, prefetch_keys_.size(), ipc_cursor_id_); |
150 prefetch_keys_.clear(); | 150 prefetch_keys_.clear(); |
151 prefetch_primary_keys_.clear(); | 151 prefetch_primary_keys_.clear(); |
152 prefetch_values_.clear(); | 152 prefetch_values_.clear(); |
153 | 153 |
154 pending_onsuccess_callbacks_ = 0; | 154 pending_onsuccess_callbacks_ = 0; |
155 } | 155 } |
156 | 156 |
157 } // namespace content | 157 } // namespace content |
OLD | NEW |