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

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: 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..ec27c5993d680adce278448dab423f45e27d78d1 100644
--- a/content/browser/indexed_db/indexed_db_database_unittest.cc
+++ b/content/browser/indexed_db/indexed_db_database_unittest.cc
@@ -139,10 +139,8 @@ TEST(IndexedDBDatabaseTest, ForcedClose) {
const int64 transaction_id = 123;
const std::vector<int64> scope;
- database->CreateTransaction(transaction_id,
- request->connection(),
- scope,
- indexed_db::TRANSACTION_READ_ONLY);
+ database->CreateTransaction(
+ transaction_id, request->connection(), scope, blink::TransactionReadOnly);
request->connection()->ForceClose();
@@ -250,7 +248,7 @@ class IndexedDBDatabaseOperationTest : public testing::Test {
transaction_id,
callbacks_,
std::set<int64>() /*scope*/,
- indexed_db::TRANSACTION_VERSION_CHANGE,
+ blink::TransactionVersionChange,
db_,
new IndexedDBFakeBackingStore::FakeTransaction(commit_success_));
db_->TransactionCreated(transaction_);

Powered by Google App Engine
This is Rietveld 408576698