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

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

Issue 16870007: Switch database/file_identifier to std::string, remove createFromDatabaseIdentifier calls (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/indexed_db_dispatcher_host.cc
diff --git a/content/browser/indexed_db/indexed_db_dispatcher_host.cc b/content/browser/indexed_db/indexed_db_dispatcher_host.cc
index bc25dc3fe3bd4d0f6675798dfe4c54c2099cc486..ee7070bc6d5a0a7112b75281266591675f2868ef 100644
--- a/content/browser/indexed_db/indexed_db_dispatcher_host.cc
+++ b/content/browser/indexed_db/indexed_db_dispatcher_host.cc
@@ -215,7 +215,7 @@ void IndexedDBDispatcherHost::OnIDBFactoryGetDatabaseNames(
Context()->GetIDBFactory()->GetDatabaseNames(
IndexedDBCallbacks::Create(
this, params.ipc_thread_id, params.ipc_callbacks_id),
- base::UTF8ToUTF16(params.database_identifier),
+ params.database_identifier,
indexed_db_path);
}
@@ -247,7 +247,7 @@ void IndexedDBDispatcherHost::OnIDBFactoryOpen(
host_transaction_id,
callbacks,
database_callbacks,
- base::UTF8ToUTF16(params.database_identifier),
+ params.database_identifier,
indexed_db_path);
}
@@ -259,7 +259,7 @@ void IndexedDBDispatcherHost::OnIDBFactoryDeleteDatabase(
params.name,
IndexedDBCallbacks::Create(
this, params.ipc_thread_id, params.ipc_callbacks_id),
- base::UTF8ToUTF16(params.database_identifier),
+ params.database_identifier,
indexed_db_path);
}
« no previous file with comments | « content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc ('k') | content/browser/indexed_db/indexed_db_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698