Index: content/child/indexed_db/indexed_db_dispatcher_unittest.cc |
diff --git a/content/child/indexed_db/indexed_db_dispatcher_unittest.cc b/content/child/indexed_db/indexed_db_dispatcher_unittest.cc |
index 6bc4d5df4cdaea2ef325723e5cdf8b51febcfc4a..75ebc64db9cffcf09955ed5c80490a98ce230e7a 100644 |
--- a/content/child/indexed_db/indexed_db_dispatcher_unittest.cc |
+++ b/content/child/indexed_db/indexed_db_dispatcher_unittest.cc |
@@ -93,7 +93,7 @@ TEST_F(IndexedDBDispatcherTest, ValueSizeTest) { |
value, |
web_blob_info, |
key, |
- WebIDBDatabase::AddOrUpdate, |
+ blink::WebIDBPutModeAddOrUpdate, |
&callbacks, |
WebVector<long long>(), |
WebVector<WebVector<WebIDBKey> >()); |
@@ -122,7 +122,7 @@ TEST_F(IndexedDBDispatcherTest, KeyAndValueSizeTest) { |
value, |
web_blob_info, |
key, |
- WebIDBDatabase::AddOrUpdate, |
+ blink::WebIDBPutModeAddOrUpdate, |
&callbacks, |
WebVector<long long>(), |
WebVector<WebVector<WebIDBKey> >()); |
@@ -160,7 +160,8 @@ TEST_F(IndexedDBDispatcherTest, CursorTransactionId) { |
const int64 transaction_id = 1234; |
const int64 object_store_id = 2; |
const int32 index_id = 3; |
- const WebIDBCursor::Direction direction = WebIDBCursor::Next; |
+ const blink::WebIDBCursorDirection direction = |
+ blink::WebIDBCursorDirectionNext; |
const bool key_only = false; |
MockDispatcher dispatcher(thread_safe_sender_.get()); |
@@ -178,7 +179,7 @@ TEST_F(IndexedDBDispatcherTest, CursorTransactionId) { |
IndexedDBKeyRange(), |
direction, |
key_only, |
- blink::WebIDBDatabase::NormalTask, |
+ blink::WebIDBTaskTypeNormal, |
new CursorCallbacks(&cursor)); |
// Verify that the transaction id was captured. |
@@ -219,7 +220,7 @@ TEST_F(IndexedDBDispatcherTest, CursorTransactionId) { |
IndexedDBKeyRange(), |
direction, |
key_only, |
- blink::WebIDBDatabase::NormalTask, |
+ blink::WebIDBTaskTypeNormal, |
new CursorCallbacks(&cursor)); |
// Verify that the transaction id was captured. |