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

Issue 2863903002: [Presentation API] Change controller connection to 'terminated' when receiver connection terminates (Closed)

Created:
3 years, 7 months ago by zhaobin
Modified:
3 years, 7 months ago
Reviewers:
mark a. foltz, imcheng
CC:
blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, darin-cc_chromium.org, dglazkov+blink, haraken, jam, mlamouri+watch-content_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Presentation API] Change controller connection to 'terminated' when receiver connection terminates When calling receiver connection.terminate(), we rely on MRP to change controller connection to 'terminated'. If receiver page goes away before MRP finishes setting up mirroring, MPR will signal 'closed' instead of 'terminated'. Fix this by making receiver connection proxy signal 'terminated' to controller connection when receiver frame goes away at browser side. BUG=712858 Review-Url: https://codereview.chromium.org/2863903002 Cr-Commit-Position: refs/heads/master@{#472860} Committed: https://chromium.googlesource.com/chromium/src/+/265357c7a152a62f98e998111f8b77c3779a234a

Patch Set 1 #

Patch Set 2 : resolve code review comments from Mark #

Patch Set 3 : add layout test #

Patch Set 4 : fix layout test failures #

Messages

Total messages: 37 (31 generated)
zhaobin
3 years, 7 months ago (2017-05-05 17:43:27 UTC) #2
mark a. foltz
On 2017/05/05 at 17:43:27, zhaobin wrote: > I need a little time to sort through ...
3 years, 7 months ago (2017-05-09 22:47:54 UTC) #3
zhaobin
- Removed receiver_connection_proxy list from PresentationDispatcher - Added NotifyTargetConnection() function to PresentationConnection and PresentationConnectionProxy. - ...
3 years, 7 months ago (2017-05-10 22:05:58 UTC) #4
mark a. foltz
LGTM, this looks much simpler and in line with the existing proxy design. Thanks :-) ...
3 years, 7 months ago (2017-05-12 22:10:19 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2863903002/60001
3 years, 7 months ago (2017-05-18 17:31:11 UTC) #34
commit-bot: I haz the power
3 years, 7 months ago (2017-05-18 17:40:28 UTC) #37
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/265357c7a152a62f98e998111f8b...

Powered by Google App Engine
This is Rietveld 408576698