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

Unified Diff: content/child/indexed_db/indexed_db_dispatcher_unittest.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: 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/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..6b1dfa63f1967d3b29f0d8a8a1001285fb1ec6b5 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::AddOrUpdate,
&callbacks,
WebVector<long long>(),
WebVector<WebVector<WebIDBKey> >());
@@ -121,7 +121,7 @@ TEST_F(IndexedDBDispatcherTest, KeyAndValueSizeTest) {
value,
web_blob_info,
key,
- WebIDBDatabase::AddOrUpdate,
+ blink::AddOrUpdate,
&callbacks,
WebVector<long long>(),
WebVector<WebVector<WebIDBKey> >());
@@ -158,7 +158,7 @@ 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::Direction direction = blink::Next;
const bool key_only = false;
MockDispatcher dispatcher(thread_safe_sender_.get());
@@ -176,7 +176,7 @@ TEST_F(IndexedDBDispatcherTest, CursorTransactionId) {
IndexedDBKeyRange(),
direction,
key_only,
- blink::WebIDBDatabase::NormalTask,
+ blink::NormalTask,
new CursorCallbacks(&cursor));
// Verify that the transaction id was captured.
@@ -217,7 +217,7 @@ TEST_F(IndexedDBDispatcherTest, CursorTransactionId) {
IndexedDBKeyRange(),
direction,
key_only,
- blink::WebIDBDatabase::NormalTask,
+ blink::NormalTask,
new CursorCallbacks(&cursor));
// Verify that the transaction id was captured.

Powered by Google App Engine
This is Rietveld 408576698