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 #ifndef CONTENT_CHILD_INDEXED_DB_WEBIDBCURSOR_IMPL_H_ | 5 #ifndef CONTENT_CHILD_INDEXED_DB_WEBIDBCURSOR_IMPL_H_ |
6 #define CONTENT_CHILD_INDEXED_DB_WEBIDBCURSOR_IMPL_H_ | 6 #define CONTENT_CHILD_INDEXED_DB_WEBIDBCURSOR_IMPL_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "content/common/content_export.h" | 15 #include "content/common/content_export.h" |
16 #include "content/common/indexed_db/indexed_db_key.h" | 16 #include "content/common/indexed_db/indexed_db_key.h" |
17 #include "third_party/WebKit/public/platform/WebData.h" | 17 #include "third_party/WebKit/public/platform/WebData.h" |
18 #include "third_party/WebKit/public/platform/WebIDBCallbacks.h" | 18 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBCallbacks.h
" |
19 #include "third_party/WebKit/public/platform/WebIDBCursor.h" | 19 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBCursor.h" |
20 #include "third_party/WebKit/public/platform/WebIDBKey.h" | 20 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBKey.h" |
21 | 21 |
22 namespace content { | 22 namespace content { |
23 class ThreadSafeSender; | 23 class ThreadSafeSender; |
24 | 24 |
25 class CONTENT_EXPORT WebIDBCursorImpl | 25 class CONTENT_EXPORT WebIDBCursorImpl |
26 : NON_EXPORTED_BASE(public blink::WebIDBCursor) { | 26 : NON_EXPORTED_BASE(public blink::WebIDBCursor) { |
27 public: | 27 public: |
28 WebIDBCursorImpl(int32 ipc_cursor_id, | 28 WebIDBCursorImpl(int32 ipc_cursor_id, |
29 int64 transaction_id, | 29 int64 transaction_id, |
30 ThreadSafeSender* thread_safe_sender); | 30 ThreadSafeSender* thread_safe_sender); |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 | 84 |
85 // Number of items to request in next prefetch. | 85 // Number of items to request in next prefetch. |
86 int prefetch_amount_; | 86 int prefetch_amount_; |
87 | 87 |
88 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 88 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
89 }; | 89 }; |
90 | 90 |
91 } // namespace content | 91 } // namespace content |
92 | 92 |
93 #endif // CONTENT_CHILD_INDEXED_DB_WEBIDBCURSOR_IMPL_H_ | 93 #endif // CONTENT_CHILD_INDEXED_DB_WEBIDBCURSOR_IMPL_H_ |
OLD | NEW |