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

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

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/webidbcursor_impl.h ('k') | content/browser/indexed_db/webidbdatabase_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/indexed_db/webidbcursor_impl.cc
diff --git a/content/browser/indexed_db/webidbcursor_impl.cc b/content/browser/indexed_db/webidbcursor_impl.cc
index da125ec2b4d4a34bf1531404cb0852afa2b2e007..7d8ba025d3ca1c0721a18259af4b666669f2d9a8 100644
--- a/content/browser/indexed_db/webidbcursor_impl.cc
+++ b/content/browser/indexed_db/webidbcursor_impl.cc
@@ -9,8 +9,6 @@
#include "content/common/indexed_db/indexed_db_key.h"
#include "third_party/WebKit/public/platform/WebIDBKey.h"
-using WebKit::WebIDBCallbacks;
-
namespace content {
WebIDBCursorImpl::WebIDBCursorImpl(
@@ -20,20 +18,20 @@ WebIDBCursorImpl::WebIDBCursorImpl(
WebIDBCursorImpl::~WebIDBCursorImpl() {}
void WebIDBCursorImpl::advance(unsigned long count,
- WebIDBCallbacks* callbacks) {
+ IndexedDBCallbacksBase* callbacks) {
idb_cursor_backend_->Advance(count,
IndexedDBCallbacksWrapper::Create(callbacks));
}
void WebIDBCursorImpl::continueFunction(const WebKit::WebIDBKey& key,
- WebIDBCallbacks* callbacks) {
+ IndexedDBCallbacksBase* callbacks) {
idb_cursor_backend_->ContinueFunction(
make_scoped_ptr(new IndexedDBKey(key)),
IndexedDBCallbacksWrapper::Create(callbacks));
}
void WebIDBCursorImpl::prefetchContinue(int number_to_fetch,
- WebKit::WebIDBCallbacks* callbacks) {
+ IndexedDBCallbacksBase* callbacks) {
idb_cursor_backend_->PrefetchContinue(
number_to_fetch, IndexedDBCallbacksWrapper::Create(callbacks));
}
« no previous file with comments | « content/browser/indexed_db/webidbcursor_impl.h ('k') | content/browser/indexed_db/webidbdatabase_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698