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

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

Issue 227693008: New IPC message parameters for IDB/Blob support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Roll in Chris's feedback Created 6 years, 8 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
« no previous file with comments | « content/child/indexed_db/indexed_db_dispatcher.cc ('k') | content/common/indexed_db/indexed_db_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4ac8ca50235fd4e65a32668851ee631baaf29b0b..1df68d80c94006894a72ea30adfb4b4d8d2b06e4 100644
--- a/content/child/indexed_db/indexed_db_dispatcher_unittest.cc
+++ b/content/child/indexed_db/indexed_db_dispatcher_unittest.cc
@@ -212,8 +212,10 @@ TEST_F(IndexedDBDispatcherTest, CursorTransactionId) {
int32 ipc_callbacks_id = dispatcher.cursor_transaction_ids_.begin()->first;
// Now simululate a "null cursor" response.
- dispatcher.OnSuccessValue(
- dispatcher.CurrentWorkerId(), ipc_callbacks_id, std::string());
+ IndexedDBMsg_CallbacksSuccessValue_Params params;
+ params.ipc_thread_id = dispatcher.CurrentWorkerId();
+ params.ipc_callbacks_id = ipc_callbacks_id;
+ dispatcher.OnSuccessValue(params);
// Ensure the map result was deleted.
EXPECT_EQ(0UL, dispatcher.cursor_transaction_ids_.size());
« no previous file with comments | « content/child/indexed_db/indexed_db_dispatcher.cc ('k') | content/common/indexed_db/indexed_db_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698