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

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

Issue 2160163002: [IndexedDB] Propogating Changes to Observer : Browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Expected tests updated Created 4 years, 5 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/child/indexed_db/indexed_db_dispatcher.cc
diff --git a/content/child/indexed_db/indexed_db_dispatcher.cc b/content/child/indexed_db/indexed_db_dispatcher.cc
index 7d6196c637d58a625027c509e93055c00d1588d4..7fc09ae19f6bd3478b54733cbca71494d38364b7 100644
--- a/content/child/indexed_db/indexed_db_dispatcher.cc
+++ b/content/child/indexed_db/indexed_db_dispatcher.cc
@@ -173,8 +173,12 @@ int32_t IndexedDBDispatcher::AddIDBObserver(
int64_t transaction_id,
std::unique_ptr<WebIDBObserver> observer) {
int32_t observer_id = observers_.Add(observer.release());
- Send(new IndexedDBHostMsg_DatabaseObserve(ipc_database_id, transaction_id,
- observer_id));
+ IndexedDBHostMsg_DatabaseObserve_Params params;
+ // TODO(palakj): Other params are assigned values as a part of next cl.
+ params.ipc_database_id = ipc_database_id;
+ params.transaction_id = transaction_id;
+ params.observer_id = observer_id;
+ Send(new IndexedDBHostMsg_DatabaseObserve(params));
return observer_id;
}
« no previous file with comments | « content/browser/indexed_db/indexed_db_transaction_unittest.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