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

Unified Diff: content/browser/indexed_db/webidbfactory_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/webidbfactory_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/indexed_db/webidbfactory_impl.cc
diff --git a/content/browser/indexed_db/webidbfactory_impl.cc b/content/browser/indexed_db/webidbfactory_impl.cc
index f517d7ee336538973bd80ec5d5d3ac7099c643a2..17f646601466393fd797f0c57de6d2ba225af3ff 100644
--- a/content/browser/indexed_db/webidbfactory_impl.cc
+++ b/content/browser/indexed_db/webidbfactory_impl.cc
@@ -8,13 +8,9 @@
#include "content/browser/indexed_db/indexed_db_callbacks_wrapper.h"
#include "content/browser/indexed_db/indexed_db_factory.h"
#include "content/browser/indexed_db/indexed_db_factory.h"
-#include "third_party/WebKit/public/platform/WebIDBDatabaseCallbacks.h"
#include "third_party/WebKit/public/platform/WebIDBDatabaseError.h"
#include "webkit/base/file_path_string_conversions.h"
-using WebKit::WebIDBCallbacks;
-using WebKit::WebIDBDatabaseCallbacks;
-using WebKit::WebIDBFactory;
using WebKit::WebString;
namespace content {
@@ -24,7 +20,7 @@ WebIDBFactoryImpl::WebIDBFactoryImpl()
WebIDBFactoryImpl::~WebIDBFactoryImpl() {}
-void WebIDBFactoryImpl::getDatabaseNames(WebIDBCallbacks* callbacks,
+void WebIDBFactoryImpl::getDatabaseNames(IndexedDBCallbacksBase* callbacks,
const WebString& database_identifier,
const WebString& data_dir) {
idb_factory_backend_->GetDatabaseNames(
@@ -36,8 +32,8 @@ void WebIDBFactoryImpl::getDatabaseNames(WebIDBCallbacks* callbacks,
void WebIDBFactoryImpl::open(const WebString& name,
long long version,
long long transaction_id,
- WebIDBCallbacks* callbacks,
- WebIDBDatabaseCallbacks* database_callbacks,
+ IndexedDBCallbacksBase* callbacks,
+ IndexedDBDatabaseCallbacks* database_callbacks,
const WebString& database_identifier,
const WebString& data_dir) {
scoped_refptr<IndexedDBCallbacksWrapper> callbacks_proxy =
@@ -56,7 +52,7 @@ void WebIDBFactoryImpl::open(const WebString& name,
}
void WebIDBFactoryImpl::deleteDatabase(const WebString& name,
- WebIDBCallbacks* callbacks,
+ IndexedDBCallbacksBase* callbacks,
const WebString& database_identifier,
const WebString& data_dir) {
idb_factory_backend_->DeleteDatabase(
« no previous file with comments | « content/browser/indexed_db/webidbfactory_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698