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

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

Issue 17915004: IndexedDB: Remove uses of WebKit API types from back-end code (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/webidbdatabase_impl.h
diff --git a/content/browser/indexed_db/webidbdatabase_impl.h b/content/browser/indexed_db/webidbdatabase_impl.h
index 6989d467dcf7016af69f5bf7f7203a41ecf432c9..3420b07f0ae40e5047fe40c52c7db4b154cd444a 100644
--- a/content/browser/indexed_db/webidbdatabase_impl.h
+++ b/content/browser/indexed_db/webidbdatabase_impl.h
@@ -10,16 +10,12 @@
#include "content/browser/indexed_db/indexed_db_database_callbacks_wrapper.h"
#include "third_party/WebKit/public/platform/WebIDBDatabase.h"
-namespace WebKit {
-class WebIDBDatabaseError;
-class WebIDBDatabaseMetadata;
-}
-
namespace content {
class IndexedDBCallbacksBase;
class IndexedDBDatabase;
class IndexedDBDatabaseCallbacks;
class IndexedDBDatabaseCallbacksWrapper;
+class IndexedDBDatabaseError;
class CONTENT_EXPORT WebIDBDatabaseImpl {
public:
@@ -32,7 +28,7 @@ class CONTENT_EXPORT WebIDBDatabaseImpl {
virtual void createObjectStore(long long transaction_id,
long long object_store_id,
- const WebKit::WebString& name,
+ const string16& name,
const IndexedDBKeyPath& key_path,
bool auto_increment);
virtual void deleteObjectStore(long long object_store_id,
@@ -45,7 +41,7 @@ class CONTENT_EXPORT WebIDBDatabaseImpl {
virtual void close();
virtual void abort(long long transaction_id);
virtual void abort(long long transaction_id,
- const WebKit::WebIDBDatabaseError& error);
+ const IndexedDBDatabaseError& error);
virtual void commit(long long transaction_id);
virtual void get(long long transaction_id,
@@ -94,7 +90,7 @@ class CONTENT_EXPORT WebIDBDatabaseImpl {
virtual void createIndex(long long transaction_id,
long long object_store_id,
long long index_id,
- const WebKit::WebString& name,
+ const string16& name,
const IndexedDBKeyPath& key_path,
bool unique,
bool multi_entry);
« no previous file with comments | « content/browser/indexed_db/indexed_db_internals_ui.cc ('k') | content/browser/indexed_db/webidbdatabase_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698