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

Issue 2714783002: [Presentation API] (browser side) Implement reconnect() for 1-UA mode (Closed)

Created:
3 years, 10 months ago by zhaobin
Modified:
3 years, 9 months ago
Reviewers:
mark a. foltz, imcheng
CC:
chromium-reviews, darin-cc_chromium.org, feature-media-reviews_chromium.org, jam, media-router+watch_chromium.org, mlamouri+watch-content_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Presentation API] (browser side) Implement reconnect() for 1-UA mode If PSDImpl::JoinSession() is called for offscreeen presentation, go to OPM instead of MRP to get media route. BUG=688233 Review-Url: https://codereview.chromium.org/2714783002 Cr-Commit-Position: refs/heads/master@{#457870} Committed: https://chromium.googlesource.com/chromium/src/+/f00e8b48a63cdac2e5d21fe63581bb488c3a355f

Patch Set 1 #

Patch Set 2 : remove duplicate unit tests #

Total comments: 12

Patch Set 3 : resolve code review comments from Derek and Mark #

Total comments: 4

Patch Set 4 : resolve code review comments from Derek #

Total comments: 6

Patch Set 5 : resolve code review comments from Mark #

Unified diffs Side-by-side diffs Delta from patch set Stats (+243 lines, -65 lines) Patch
M chrome/browser/media/router/offscreen_presentation_manager.h View 1 2 3 4 5 chunks +15 lines, -2 lines 0 comments Download
M chrome/browser/media/router/offscreen_presentation_manager.cc View 1 2 3 4 4 chunks +23 lines, -5 lines 0 comments Download
M chrome/browser/media/router/offscreen_presentation_manager_unittest.cc View 1 2 5 chunks +33 lines, -4 lines 0 comments Download
M chrome/browser/media/router/presentation_service_delegate_impl.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/media/router/presentation_service_delegate_impl.cc View 1 2 3 7 chunks +59 lines, -33 lines 0 comments Download
M chrome/browser/media/router/presentation_service_delegate_impl_unittest.cc View 1 2 3 4 11 chunks +111 lines, -20 lines 0 comments Download
M third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 29 (17 generated)
zhaobin
3 years, 10 months ago (2017-02-23 21:56:46 UTC) #2
imcheng
https://codereview.chromium.org/2714783002/diff/20001/chrome/browser/media/router/offscreen_presentation_manager.h File chrome/browser/media/router/offscreen_presentation_manager.h (right): https://codereview.chromium.org/2714783002/diff/20001/chrome/browser/media/router/offscreen_presentation_manager.h#newcode201 chrome/browser/media/router/offscreen_presentation_manager.h:201: std::unique_ptr<MediaRoute> route_; What does it mean to have an ...
3 years, 10 months ago (2017-02-24 01:37:46 UTC) #3
zhaobin
https://codereview.chromium.org/2714783002/diff/20001/chrome/browser/media/router/offscreen_presentation_manager.h File chrome/browser/media/router/offscreen_presentation_manager.h (right): https://codereview.chromium.org/2714783002/diff/20001/chrome/browser/media/router/offscreen_presentation_manager.h#newcode201 chrome/browser/media/router/offscreen_presentation_manager.h:201: std::unique_ptr<MediaRoute> route_; On 2017/02/24 01:37:46, imcheng wrote: > What ...
3 years, 10 months ago (2017-02-24 02:35:36 UTC) #4
imcheng
https://codereview.chromium.org/2714783002/diff/20001/chrome/browser/media/router/offscreen_presentation_manager.h File chrome/browser/media/router/offscreen_presentation_manager.h (right): https://codereview.chromium.org/2714783002/diff/20001/chrome/browser/media/router/offscreen_presentation_manager.h#newcode201 chrome/browser/media/router/offscreen_presentation_manager.h:201: std::unique_ptr<MediaRoute> route_; On 2017/02/24 02:35:33, zhaobin wrote: > On ...
3 years, 10 months ago (2017-02-24 20:52:25 UTC) #5
mark a. foltz
Looks good overall but I would lean towards having a presentation id -> MediaRoute mapping ...
3 years, 9 months ago (2017-03-01 06:26:32 UTC) #6
zhaobin
Close https://codereview.chromium.org/2731043002/ and keep route info in OffscreenPresentationManager instead. https://codereview.chromium.org/2714783002/diff/20001/chrome/browser/media/router/offscreen_presentation_manager.cc File chrome/browser/media/router/offscreen_presentation_manager.cc (right): https://codereview.chromium.org/2714783002/diff/20001/chrome/browser/media/router/offscreen_presentation_manager.cc#newcode163 chrome/browser/media/router/offscreen_presentation_manager.cc:163: ...
3 years, 9 months ago (2017-03-15 18:18:57 UTC) #7
imcheng
lgtm https://codereview.chromium.org/2714783002/diff/20001/chrome/browser/media/router/offscreen_presentation_manager.cc File chrome/browser/media/router/offscreen_presentation_manager.cc (right): https://codereview.chromium.org/2714783002/diff/20001/chrome/browser/media/router/offscreen_presentation_manager.cc#newcode163 chrome/browser/media/router/offscreen_presentation_manager.cc:163: route_ = base::MakeUnique<MediaRoute>(route); On 2017/03/15 18:18:56, zhaobin wrote: ...
3 years, 9 months ago (2017-03-16 01:42:51 UTC) #8
zhaobin
https://codereview.chromium.org/2714783002/diff/20001/chrome/browser/media/router/offscreen_presentation_manager.cc File chrome/browser/media/router/offscreen_presentation_manager.cc (right): https://codereview.chromium.org/2714783002/diff/20001/chrome/browser/media/router/offscreen_presentation_manager.cc#newcode163 chrome/browser/media/router/offscreen_presentation_manager.cc:163: route_ = base::MakeUnique<MediaRoute>(route); On 2017/03/16 01:42:51, imcheng wrote: > ...
3 years, 9 months ago (2017-03-16 18:50:31 UTC) #9
mark a. foltz
LGTM, minor comments only https://codereview.chromium.org/2714783002/diff/60001/chrome/browser/media/router/offscreen_presentation_manager.cc File chrome/browser/media/router/offscreen_presentation_manager.cc (right): https://codereview.chromium.org/2714783002/diff/60001/chrome/browser/media/router/offscreen_presentation_manager.cc#newcode102 chrome/browser/media/router/offscreen_presentation_manager.cc:102: if (it == offscreen_presentations_.end()) Nit: ...
3 years, 9 months ago (2017-03-16 23:02:17 UTC) #14
zhaobin
https://codereview.chromium.org/2714783002/diff/60001/chrome/browser/media/router/offscreen_presentation_manager.cc File chrome/browser/media/router/offscreen_presentation_manager.cc (right): https://codereview.chromium.org/2714783002/diff/60001/chrome/browser/media/router/offscreen_presentation_manager.cc#newcode102 chrome/browser/media/router/offscreen_presentation_manager.cc:102: if (it == offscreen_presentations_.end()) On 2017/03/16 23:02:17, mark a. ...
3 years, 9 months ago (2017-03-17 00:31:51 UTC) #16
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/2714783002/80001
3 years, 9 months ago (2017-03-17 20:04:15 UTC) #26
commit-bot: I haz the power
3 years, 9 months ago (2017-03-17 20:11:04 UTC) #29
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/f00e8b48a63cdac2e5d21fe63581...

Powered by Google App Engine
This is Rietveld 408576698