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

Issue 2035893003: Fix some MultiplexRouter behavior for sync messages (Closed)

Created:
4 years, 6 months ago by Ken Rockot(use gerrit already)
Modified:
4 years, 6 months ago
Reviewers:
yzshen1
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, chromium-reviews, darin (slow to review), qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix some MultiplexRouter behavior for sync messages Two small fixes: - ProcessTasks was unintentionally scoping the interface id for a sync message task, so an unprocessed task would then get pushed back onto the queue for kInvalidInterfaceId - Unprocessed task pointer was being pushed back onto the sync message queue after moving the task ptr back into the task queue, so the sync message queue entry would always be null. Also minor cleanup to ProcessFirstSyncMessageForEndpoint to wipe out empty entries in sync_message_tasks_ when possible. R=yzshen@chromium.org BUG= Committed: https://crrev.com/b22a087001308e421c1c4b6fa7cf33d0b9b2d4e7 Cr-Commit-Position: refs/heads/master@{#397719}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -3 lines) Patch
M mojo/public/cpp/bindings/lib/multiplex_router.cc View 3 chunks +11 lines, -3 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
Ken Rockot(use gerrit already)
Had an a-ha moment while staring at the code for a few minutes :) Fixing ...
4 years, 6 months ago (2016-06-03 07:22:36 UTC) #1
yzshen1
LGTM Thanks! And sorry for the stupid bugs... The test cases for sync methods are ...
4 years, 6 months ago (2016-06-03 15:30:18 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2035893003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2035893003/1
4 years, 6 months ago (2016-06-03 15:32:17 UTC) #4
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 6 months ago (2016-06-03 16:09:17 UTC) #5
commit-bot: I haz the power
4 years, 6 months ago (2016-06-03 16:11:07 UTC) #7
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/b22a087001308e421c1c4b6fa7cf33d0b9b2d4e7
Cr-Commit-Position: refs/heads/master@{#397719}

Powered by Google App Engine
This is Rietveld 408576698