Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(241)

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBCursorProxy.h

Issue 1963293002: Replacing Indexed DB Chromium IPC with Mojo Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactoring after Passing URLRequestContextGetter. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698