OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef IDBCursorProxy_h |
| 6 #define IDBCursorProxy_h |
| 7 |
| 8 #include "Source/modules/indexeddb/indexed_db.mojom-blink.h" |
| 9 |
| 10 namespace blink { |
| 11 |
| 12 class IDBKey; |
| 13 |
| 14 class IDBCursorProxy final { |
| 15 public: |
| 16 // static IDBCursorProxy* create(int32_t cursorId); |
| 17 |
| 18 void Advance(uint32_t count); |
| 19 void ContinueFunction(const IDBKey*, const IDBKey* primaryKey); |
| 20 void PostSuccessHandlerCallback(); |
| 21 |
| 22 private: |
| 23 IDBCursorProxy(int32_t cursorId); |
| 24 |
| 25 indexed_db::mojom::blink::CursorPtr m_cursor; |
| 26 int32_t m_cursorId; |
| 27 }; |
| 28 |
| 29 } // namespace blink |
| 30 |
| 31 #endif // IDBCursorProxy_h |
OLD | NEW |