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

Unified Diff: content/browser/indexed_db/webidbcursor_impl.h

Issue 15564008: Migrate the IndexedDB backend from Blink to Chromium (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Coding style fixes Created 7 years, 7 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: content/browser/indexed_db/webidbcursor_impl.h
diff --git a/content/browser/indexed_db/webidbcursor_impl.h b/content/browser/indexed_db/webidbcursor_impl.h
new file mode 100644
index 0000000000000000000000000000000000000000..3670d126b4a18a96e60659371e665f538e8faf4a
--- /dev/null
+++ b/content/browser/indexed_db/webidbcursor_impl.h
@@ -0,0 +1,32 @@
+// Copyright (c) 2013 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 CONTENT_BROWSER_INDEXED_DB_WEBIDBCURSOR_IMPL_H_
+#define CONTENT_BROWSER_INDEXED_DB_WEBIDBCURSOR_IMPL_H_
+
+#include "base/memory/ref_counted.h"
+#include "third_party/WebKit/Source/Platform/chromium/public/WebIDBCursor.h"
+
+namespace content {
+class IndexedDBCursor;
+
+class WebIDBCursorImpl : public WebKit::WebIDBCursor {
+ public:
+ explicit WebIDBCursorImpl(scoped_refptr<IndexedDBCursor>);
+ virtual ~WebIDBCursorImpl();
+
+ virtual void advance(unsigned long, WebKit::WebIDBCallbacks*);
jamesr 2013/05/22 18:59:44 chromium style requires names for all parameters
jsbell 2013/05/22 22:21:14 Done. (There may still be some lingering mismatche
+ virtual void continueFunction(const WebKit::WebIDBKey&,
+ WebKit::WebIDBCallbacks*);
+ virtual void deleteFunction(WebKit::WebIDBCallbacks* callbacks);
+ virtual void prefetchContinue(int number_to_fetch, WebKit::WebIDBCallbacks*);
+ virtual void prefetchReset(int used_prefetches, int unused_prefetches);
+
+ private:
+ scoped_refptr<IndexedDBCursor> idb_cursor_backend_;
+};
+
+} // namespace content
+
+#endif // CONTENT_BROWSER_INDEXED_DB_WEBIDBCURSOR_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698