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 98f929e7322fbae01ab99d1c05172416b470fc8b..b175880057c367f41f52b43f2d82dd1f6d2edcea 100644 |
--- a/content/child/indexed_db/indexed_db_dispatcher_unittest.cc |
+++ b/content/child/indexed_db/indexed_db_dispatcher_unittest.cc |
@@ -92,7 +92,7 @@ TEST_F(IndexedDBDispatcherTest, ValueSizeTest) { |
value, |
web_blob_info, |
key, |
- WebIDBDatabase::AddOrUpdate, |
+ blink::WebIDBPutModeAddOrUpdate, |
&callbacks, |
WebVector<long long>(), |
WebVector<WebVector<WebIDBKey> >()); |
@@ -121,7 +121,7 @@ TEST_F(IndexedDBDispatcherTest, KeyAndValueSizeTest) { |
value, |
web_blob_info, |
key, |
- WebIDBDatabase::AddOrUpdate, |
+ blink::WebIDBPutModeAddOrUpdate, |
&callbacks, |
WebVector<long long>(), |
WebVector<WebVector<WebIDBKey> >()); |
@@ -158,7 +158,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()); |
@@ -176,7 +177,7 @@ TEST_F(IndexedDBDispatcherTest, CursorTransactionId) { |
IndexedDBKeyRange(), |
direction, |
key_only, |
- blink::WebIDBDatabase::NormalTask, |
+ blink::WebIDBTaskTypeNormal, |
new CursorCallbacks(&cursor)); |
// Verify that the transaction id was captured. |
@@ -217,7 +218,7 @@ TEST_F(IndexedDBDispatcherTest, CursorTransactionId) { |
IndexedDBKeyRange(), |
direction, |
key_only, |
- blink::WebIDBDatabase::NormalTask, |
+ blink::WebIDBTaskTypeNormal, |
new CursorCallbacks(&cursor)); |
// Verify that the transaction id was captured. |