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

Unified Diff: content/child/indexed_db/webidbdatabase_impl.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/child/indexed_db/webidbdatabase_impl.cc
diff --git a/content/child/indexed_db/webidbdatabase_impl.cc b/content/child/indexed_db/webidbdatabase_impl.cc
index ee83e187a5b98772a5fe4859fb9658ea723df6c9..8179ca2a4cc5d2178a438ba7467ee1ef10cc5f19 100644
--- a/content/child/indexed_db/webidbdatabase_impl.cc
+++ b/content/child/indexed_db/webidbdatabase_impl.cc
@@ -77,7 +77,7 @@ void WebIDBDatabaseImpl::createTransaction(
long long transaction_id,
WebIDBDatabaseCallbacks* callbacks,
const WebVector<long long>& object_store_ids,
- WebIDBDatabase::TransactionMode mode) {
+ blink::WebIDBTransactionMode mode) {
IndexedDBDispatcher* dispatcher =
IndexedDBDispatcher::ThreadSpecificInstance(thread_safe_sender_.get());
dispatcher->RequestIDBDatabaseCreateTransaction(
@@ -114,7 +114,7 @@ void WebIDBDatabaseImpl::put(long long transaction_id,
long long object_store_id,
const blink::WebData& value,
const WebIDBKey& key,
- PutMode put_mode,
+ blink::WebIDBPutMode put_mode,
WebIDBCallbacks* callbacks,
const WebVector<long long>& web_index_ids,
const WebVector<WebIndexKeys>& web_index_keys) {
@@ -138,7 +138,7 @@ void WebIDBDatabaseImpl::put(long long transaction_id,
const blink::WebData& value,
const blink::WebVector<WebBlobInfo>& web_blob_info,
const WebIDBKey& key,
- PutMode put_mode,
+ blink::WebIDBPutMode put_mode,
WebIDBCallbacks* callbacks,
const WebVector<long long>& web_index_ids,
const WebVector<WebIndexKeys>& web_index_keys) {
@@ -196,9 +196,9 @@ void WebIDBDatabaseImpl::openCursor(long long transaction_id,
long long object_store_id,
long long index_id,
const WebIDBKeyRange& key_range,
- WebIDBCursor::Direction direction,
+ blink::WebIDBCursorDirection direction,
bool key_only,
- TaskType task_type,
+ blink::WebIDBTaskType task_type,
WebIDBCallbacks* callbacks) {
IndexedDBDispatcher* dispatcher =
IndexedDBDispatcher::ThreadSpecificInstance(thread_safe_sender_.get());

Powered by Google App Engine
This is Rietveld 408576698