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

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

Issue 16573003: Remove content/browser dependency on WebKit::WebIDBCallbacks and WebKit::WebIDBDatabaseCallbacks (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix namespace issues 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
« no previous file with comments | « content/browser/indexed_db/indexed_db_unittest.cc ('k') | content/browser/indexed_db/webidbcursor_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
index 1fb6d40a1f49c41597ed4a38b2465c84b11e0244..4a04a05218881e9dcaceb0255f15aa839ebd32ba 100644
--- a/content/browser/indexed_db/webidbcursor_impl.h
+++ b/content/browser/indexed_db/webidbcursor_impl.h
@@ -6,21 +6,25 @@
#define CONTENT_BROWSER_INDEXED_DB_WEBIDBCURSOR_IMPL_H_
#include "base/memory/ref_counted.h"
-#include "third_party/WebKit/public/platform/WebIDBCursor.h"
+
+namespace WebKit {
+class WebIDBKey;
+}
namespace content {
class IndexedDBCursor;
+class IndexedDBCallbacksBase;
-class WebIDBCursorImpl : public WebKit::WebIDBCursor {
+class WebIDBCursorImpl {
public:
explicit WebIDBCursorImpl(scoped_refptr<IndexedDBCursor> cursor);
virtual ~WebIDBCursorImpl();
- virtual void advance(unsigned long, WebKit::WebIDBCallbacks* callbacks);
+ virtual void advance(unsigned long, IndexedDBCallbacksBase* callbacks);
virtual void continueFunction(const WebKit::WebIDBKey& key,
- WebKit::WebIDBCallbacks* callbacks);
+ IndexedDBCallbacksBase* callbacks);
virtual void prefetchContinue(int number_to_fetch,
- WebKit::WebIDBCallbacks* callbacks);
+ IndexedDBCallbacksBase* callbacks);
virtual void prefetchReset(int used_prefetches, int unused_prefetches);
private:
« no previous file with comments | « content/browser/indexed_db/indexed_db_unittest.cc ('k') | content/browser/indexed_db/webidbcursor_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698