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

Unified Diff: content/child/indexed_db/webidbdatabase_impl_unittest.cc

Issue 2500263003: Port messages sent by WebIDBCursorImpl to Mojo. (Closed)
Patch Set: Address dcheng@'s comments. Created 4 years, 1 month 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
« no previous file with comments | « content/child/indexed_db/webidbdatabase_impl.cc ('k') | content/child/indexed_db/webidbfactory_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/indexed_db/webidbdatabase_impl_unittest.cc
diff --git a/content/child/indexed_db/webidbdatabase_impl_unittest.cc b/content/child/indexed_db/webidbdatabase_impl_unittest.cc
index f45e78215254709f5699bf778fbd8dfbb26a1de5..114737bcf17185b907be78661468a598bb60bd49 100644
--- a/content/child/indexed_db/webidbdatabase_impl_unittest.cc
+++ b/content/child/indexed_db/webidbdatabase_impl_unittest.cc
@@ -58,8 +58,8 @@ TEST_F(WebIDBDatabaseImplTest, ValueSizeTest) {
StrictMock<MockWebIDBCallbacks> callbacks;
EXPECT_CALL(callbacks, onError(_)).Times(1);
- WebIDBDatabaseImpl database_impl(nullptr, base::ThreadTaskRunnerHandle::Get(),
- nullptr);
+ WebIDBDatabaseImpl database_impl(nullptr,
+ base::ThreadTaskRunnerHandle::Get());
database_impl.max_put_value_size_ = kMaxValueSizeForTesting;
database_impl.put(transaction_id, object_store_id, value, web_blob_info,
WebIDBKey::createNumber(0), blink::WebIDBPutModeAddOrUpdate,
@@ -85,8 +85,8 @@ TEST_F(WebIDBDatabaseImplTest, KeyAndValueSizeTest) {
StrictMock<MockWebIDBCallbacks> callbacks;
EXPECT_CALL(callbacks, onError(_)).Times(1);
- WebIDBDatabaseImpl database_impl(nullptr, base::ThreadTaskRunnerHandle::Get(),
- nullptr);
+ WebIDBDatabaseImpl database_impl(nullptr,
+ base::ThreadTaskRunnerHandle::Get());
database_impl.max_put_value_size_ = kMaxValueSizeForTesting;
database_impl.put(transaction_id, object_store_id, value, web_blob_info, key,
blink::WebIDBPutModeAddOrUpdate, &callbacks,
« no previous file with comments | « content/child/indexed_db/webidbdatabase_impl.cc ('k') | content/child/indexed_db/webidbfactory_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698