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

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: Rebase patch. 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 dcaf8233657d249272ffbd4632b3db2587f879f9..8a756f8a4ad3eeb7b0c2c367cd09ffa05abe0dda 100644
--- a/content/browser/indexed_db/indexed_db_database_unittest.cc
+++ b/content/browser/indexed_db/indexed_db_database_unittest.cc
@@ -143,7 +143,7 @@ TEST(IndexedDBDatabaseTest, ForcedClose) {
database->CreateTransaction(transaction_id,
request->connection(),
scope,
- indexed_db::TRANSACTION_READ_ONLY);
+ blink::WebIDBTransactionModeReadOnly);
request->connection()->ForceClose();
@@ -251,7 +251,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_);
@@ -396,7 +396,7 @@ TEST_F(IndexedDBDatabaseOperationTest, CreatePutDelete) {
&value,
&handles,
key.Pass(),
- IndexedDBDatabase::ADD_ONLY,
+ blink::WebIDBPutModeAddOnly,
request,
index_keys);
« no previous file with comments | « content/browser/indexed_db/indexed_db_database.cc ('k') | content/browser/indexed_db/indexed_db_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698