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

Issue 1202963004: Gets presentation ID from route ID upon route creation, and overrides previous presentation ID with… (Closed)

Created:
5 years, 6 months ago by haibinlu
Modified:
5 years, 6 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, media-router+watch_chromium.org, darin-cc_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Gets presentation ID from route ID upon route creation, and overrides previous presentation ID with this final ID. This is a quick fix to get presentation ID to web app before we overhaul route/sink/source URN format. With https://codereview.chromium.org/1199933006/, https://codereview.chromium.org/1209473003/ and this CL, send/receive message works end to end. Committed: https://crrev.com/2a5675a6315369246d50ee9c74d5f6376c3240d8 Cr-Commit-Position: refs/heads/master@{#336326}

Patch Set 1 #

Patch Set 2 : #

Total comments: 12

Patch Set 3 : #

Total comments: 2

Patch Set 4 : Addresses Kevin's comments #

Patch Set 5 : Rebase #

Patch Set 6 : #

Total comments: 4

Patch Set 7 : #

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -29 lines) Patch
M chrome/browser/media/router/create_session_request.cc View 1 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/media/router/create_session_request_unittest.cc View 1 2 3 4 5 6 7 3 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/media/router/media_route.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/media/router/media_route.cc View 1 2 3 4 5 6 2 chunks +37 lines, -0 lines 0 comments Download
M chrome/browser/media/router/media_route_unittest.cc View 1 1 chunk +27 lines, -5 lines 0 comments Download
M chrome/browser/media/router/media_router_mojo_impl.cc View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/media/router/presentation_service_delegate_impl.cc View 1 2 3 4 1 chunk +2 lines, -3 lines 0 comments Download
M content/browser/presentation/presentation_service_impl.cc View 1 2 3 4 1 chunk +10 lines, -5 lines 0 comments Download
M content/renderer/presentation/presentation_dispatcher.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M extensions/renderer/resources/media_router_bindings.js View 1 2 3 4 5 3 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
haibinlu
5 years, 6 months ago (2015-06-24 00:50:32 UTC) #2
haibinlu
Please duplicate changes as in https://codereview.chromium.org/1199933006/. I will rebase once that CL is landed.
5 years, 6 months ago (2015-06-24 00:52:02 UTC) #3
Kevin M
https://codereview.chromium.org/1202963004/diff/20001/chrome/browser/media/router/create_session_request.cc File chrome/browser/media/router/create_session_request.cc (right): https://codereview.chromium.org/1202963004/diff/20001/chrome/browser/media/router/create_session_request.cc#newcode16 chrome/browser/media/router/create_session_request.cc:16: const std::string& presentation_id, Remove this? I don't see any ...
5 years, 6 months ago (2015-06-24 23:02:07 UTC) #4
haibinlu
PTAL https://codereview.chromium.org/1202963004/diff/20001/chrome/browser/media/router/media_route.cc File chrome/browser/media/router/media_route.cc (right): https://codereview.chromium.org/1202963004/diff/20001/chrome/browser/media/router/media_route.cc#newcode36 chrome/browser/media/router/media_route.cc:36: std::pair<std::string, std::string> GetPresentationIdAndUrl( On 2015/06/24 23:02:06, Kevin M ...
5 years, 6 months ago (2015-06-24 23:25:13 UTC) #5
Kevin M
lgtm https://codereview.chromium.org/1202963004/diff/100001/chrome/browser/media/router/media_route.cc File chrome/browser/media/router/media_route.cc (right): https://codereview.chromium.org/1202963004/diff/100001/chrome/browser/media/router/media_route.cc#newcode47 chrome/browser/media/router/media_route.cc:47: size_t prefix_len = strlen(kRouteUrnPrefix); Use arraysize() - 1, ...
5 years, 6 months ago (2015-06-25 22:51:56 UTC) #6
imcheng (use chromium acct)
lgtm
5 years, 6 months ago (2015-06-25 23:25:13 UTC) #8
imcheng
lgtm
5 years, 6 months ago (2015-06-26 00:09:06 UTC) #9
haibinlu
https://codereview.chromium.org/1202963004/diff/100001/chrome/browser/media/router/media_route.cc File chrome/browser/media/router/media_route.cc (right): https://codereview.chromium.org/1202963004/diff/100001/chrome/browser/media/router/media_route.cc#newcode47 chrome/browser/media/router/media_route.cc:47: size_t prefix_len = strlen(kRouteUrnPrefix); On 2015/06/25 22:51:56, Kevin M ...
5 years, 6 months ago (2015-06-26 00:12:00 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1202963004/120001
5 years, 6 months ago (2015-06-26 00:12:50 UTC) #13
commit-bot: I haz the power
Exceeded global retry quota
5 years, 6 months ago (2015-06-26 00:42:19 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1202963004/140001
5 years, 6 months ago (2015-06-26 01:09:25 UTC) #18
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 6 months ago (2015-06-26 02:35:28 UTC) #19
commit-bot: I haz the power
5 years, 6 months ago (2015-06-26 02:36:30 UTC) #20
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/2a5675a6315369246d50ee9c74d5f6376c3240d8
Cr-Commit-Position: refs/heads/master@{#336326}

Powered by Google App Engine
This is Rietveld 408576698