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

Unified Diff: content/browser/indexed_db/indexed_db_database_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: 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_database_unittest.cc
diff --git a/content/browser/indexed_db/indexed_db_database_unittest.cc b/content/browser/indexed_db/indexed_db_database_unittest.cc
index 307cf5144444160be7458114faa91d1d4598713f..4c1c90be23ec7b44fd19c8166e75067703e80a90 100644
--- a/content/browser/indexed_db/indexed_db_database_unittest.cc
+++ b/content/browser/indexed_db/indexed_db_database_unittest.cc
@@ -142,7 +142,7 @@ TEST(IndexedDBDatabaseTest, ForcedClose) {
database->CreateTransaction(transaction_id,
request->connection(),
scope,
- indexed_db::TRANSACTION_READ_ONLY);
+ blink::WebIDBTransactionModeReadOnly);
request->connection()->ForceClose();
@@ -250,7 +250,7 @@ class IndexedDBDatabaseOperationTest : public testing::Test {
transaction_id,
callbacks_,
std::set<int64>() /*scope*/,
- indexed_db::TRANSACTION_VERSION_CHANGE,
+ blink::WebIDBTransactionModeVersionChange,
db_,
new IndexedDBFakeBackingStore::FakeTransaction(commit_success_));
db_->TransactionCreated(transaction_);
@@ -395,7 +395,7 @@ TEST_F(IndexedDBDatabaseOperationTest, CreatePutDelete) {
&value,
&handles,
key.Pass(),
- IndexedDBDatabase::ADD_ONLY,
+ blink::WebIDBPutModeAddOnly,
request,
index_keys);

Powered by Google App Engine
This is Rietveld 408576698