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

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

Issue 18145004: IndexedDB: Eliminate WebIDBCursor wrapper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 6 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
deleted file mode 100644
index d7106185884623d9e045abb75ccc5fbaef4dd66b..0000000000000000000000000000000000000000
--- a/content/browser/indexed_db/webidbcursor_impl.h
+++ /dev/null
@@ -1,33 +0,0 @@
-// 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"
-
-namespace content {
-class IndexedDBCursor;
-class IndexedDBCallbacksBase;
-class IndexedDBKey;
-
-class WebIDBCursorImpl {
- public:
- explicit WebIDBCursorImpl(scoped_refptr<IndexedDBCursor> cursor);
- virtual ~WebIDBCursorImpl();
-
- virtual void advance(unsigned long, IndexedDBCallbacksBase* callbacks);
- virtual void continueFunction(const IndexedDBKey& key,
- IndexedDBCallbacksBase* callbacks);
- virtual void prefetchContinue(int number_to_fetch,
- IndexedDBCallbacksBase* callbacks);
- 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_
« no previous file with comments | « content/browser/indexed_db/indexed_db_dispatcher_host.cc ('k') | content/browser/indexed_db/webidbcursor_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698