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

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

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
« no previous file with comments | « content/browser/indexed_db/webidbdatabase_impl.h ('k') | content/browser/indexed_db/webidbfactory_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/indexed_db/webidbdatabase_impl.cc
diff --git a/content/browser/indexed_db/webidbdatabase_impl.cc b/content/browser/indexed_db/webidbdatabase_impl.cc
index 0892ca6d75addc1f02b0d34aaf684eb93e3708ba..6b1cc8a62624a3a5afc9e4421a25156fc69e936d 100644
--- a/content/browser/indexed_db/webidbdatabase_impl.cc
+++ b/content/browser/indexed_db/webidbdatabase_impl.cc
@@ -11,13 +11,9 @@
#include "content/browser/indexed_db/indexed_db_callbacks_wrapper.h"
#include "content/browser/indexed_db/indexed_db_cursor.h"
#include "content/browser/indexed_db/indexed_db_database.h"
+#include "content/browser/indexed_db/indexed_db_database_error.h"
#include "content/browser/indexed_db/indexed_db_metadata.h"
#include "content/common/indexed_db/indexed_db_key_range.h"
-#include "third_party/WebKit/public/platform/WebIDBDatabaseError.h"
-#include "third_party/WebKit/public/platform/WebString.h"
-
-using WebKit::WebString;
-using WebKit::WebIDBDatabaseError;
namespace content {
@@ -31,7 +27,7 @@ WebIDBDatabaseImpl::~WebIDBDatabaseImpl() {}
void WebIDBDatabaseImpl::createObjectStore(long long transaction_id,
long long object_store_id,
- const WebString& name,
+ const string16& name,
const IndexedDBKeyPath& key_path,
bool auto_increment) {
database_backend_->CreateObjectStore(transaction_id,
@@ -80,9 +76,9 @@ void WebIDBDatabaseImpl::abort(long long transaction_id) {
}
void WebIDBDatabaseImpl::abort(long long transaction_id,
- const WebIDBDatabaseError& error) {
+ const IndexedDBDatabaseError& error) {
if (database_backend_.get())
- database_backend_->Abort(transaction_id, IndexedDBDatabaseError(error));
+ database_backend_->Abort(transaction_id, error);
}
void WebIDBDatabaseImpl::commit(long long transaction_id) {
@@ -217,7 +213,7 @@ void WebIDBDatabaseImpl::clear(long long transaction_id,
void WebIDBDatabaseImpl::createIndex(long long transaction_id,
long long object_store_id,
long long index_id,
- const WebString& name,
+ const string16& name,
const IndexedDBKeyPath& key_path,
bool unique,
bool multi_entry) {
« no previous file with comments | « content/browser/indexed_db/webidbdatabase_impl.h ('k') | content/browser/indexed_db/webidbfactory_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698