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

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

Issue 320833002: [IndexedDB] Use consistent enums on both sides of IPC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporated review comments. Created 6 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 5ec2b943786cbdaee493f676c36d7a037b074f60..5f9e11a4307bde748226c056e4361f201ebc1bcb 100644
--- a/content/browser/indexed_db/indexed_db_dispatcher_host.cc
+++ b/content/browser/indexed_db/indexed_db_dispatcher_host.cc
@@ -666,7 +666,7 @@ void IndexedDBDispatcherHost::DatabaseDispatcherHost::OnPut(
&value,
&scoped_handles,
make_scoped_ptr(new IndexedDBKey(params.key)),
- static_cast<IndexedDBDatabase::PutMode>(params.put_mode),
+ static_cast<blink::WebIDBPutMode>(params.put_mode),
jsbell 2014/06/11 16:42:02 This static_cast should no longer be necessary.
Pritam Nikam 2014/06/12 11:19:20 Done.
callbacks,
params.index_keys);
TransactionIDToSizeMap* map =
@@ -725,9 +725,9 @@ void IndexedDBDispatcherHost::DatabaseDispatcherHost::OnOpenCursor(
params.object_store_id,
params.index_id,
make_scoped_ptr(new IndexedDBKeyRange(params.key_range)),
- static_cast<indexed_db::CursorDirection>(params.direction),
+ static_cast<blink::WebIDBCursorDirection>(params.direction),
jsbell 2014/06/11 16:42:01 This static_cast should no longer be necessary.
Pritam Nikam 2014/06/12 11:19:20 Done.
params.key_only,
- static_cast<IndexedDBDatabase::TaskType>(params.task_type),
+ static_cast<blink::WebIDBTaskType>(params.task_type),
jsbell 2014/06/11 16:42:01 This static_cast should no longer be necessary.
Pritam Nikam 2014/06/12 11:19:20 Done.
callbacks);
}

Powered by Google App Engine
This is Rietveld 408576698