Index: third_party/WebKit/Source/modules/indexeddb/IDBCursorProxy.h |
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBCursorProxy.h b/third_party/WebKit/Source/modules/indexeddb/IDBCursorProxy.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2de04db825d7d7bd6db71779793b54aa275d7da4 |
--- /dev/null |
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBCursorProxy.h |
@@ -0,0 +1,31 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef IDBCursorProxy_h |
+#define IDBCursorProxy_h |
+ |
+#include "Source/modules/indexeddb/indexed_db.mojom-blink.h" |
+ |
+namespace blink { |
+ |
+class IDBKey; |
+ |
+class IDBCursorProxy final { |
+public: |
+ // static IDBCursorProxy* create(int32_t cursorId); |
+ |
+ void Advance(uint32_t count); |
+ void ContinueFunction(const IDBKey*, const IDBKey* primaryKey); |
+ void PostSuccessHandlerCallback(); |
+ |
+private: |
+ IDBCursorProxy(int32_t cursorId); |
+ |
+ indexed_db::mojom::blink::CursorPtr m_cursor; |
+ int32_t m_cursorId; |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // IDBCursorProxy_h |