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

Issue 1245213002: [MediaRouter] Implement send binary message from PSDImpl to MRPManager (Closed)

Created:
5 years, 5 months ago by USE s.singapati at gmail.com
Modified:
5 years, 4 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, chromium-reviews, darin (slow to review), feature-media-reviews_chromium.org, mcasas+watch_chromium.org, media-router+watch_chromium.org, posciak+watch_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, wjia+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

[MediaRouter] Implement send binary message from PSDImpl to MRPManager. BUG=501539 Committed: https://crrev.com/be408ee0d34e3a5d85bed83bc07c137c120881fa Cr-Commit-Position: refs/heads/master@{#341312}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Implementation and UT added. #

Patch Set 3 : override in media_router_android #

Total comments: 19

Patch Set 4 : review fixes #

Total comments: 4

Patch Set 5 : pass scoped_ptr<>, avoid copying #

Total comments: 4

Patch Set 6 : pass ownership to callback #

Patch Set 7 : updated UT to verify the |data| #

Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -9 lines) Patch
M chrome/browser/media/android/router/media_router_android.h View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/media/android/router/media_router_android.cc View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/media/router/media_router.h View 1 2 3 4 1 chunk +7 lines, -2 lines 0 comments Download
M chrome/browser/media/router/media_router.mojom View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/media/router/media_router_mojo_impl.h View 1 2 3 4 5 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/media/router/media_router_mojo_impl.cc View 1 2 3 4 5 2 chunks +22 lines, -0 lines 0 comments Download
M chrome/browser/media/router/media_router_mojo_impl_unittest.cc View 1 2 3 4 5 6 2 chunks +24 lines, -0 lines 0 comments Download
M chrome/browser/media/router/mock_media_router.h View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/media/router/presentation_service_delegate_impl.cc View 1 2 3 4 2 chunks +8 lines, -7 lines 0 comments Download
M chrome/browser/media/router/test_helper.h View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M extensions/renderer/resources/media_router_bindings.js View 1 2 3 3 chunks +23 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (10 generated)
USE s.singapati at gmail.com
PTAL.
5 years, 5 months ago (2015-07-21 16:06:09 UTC) #2
haibinlu
https://codereview.chromium.org/1245213002/diff/1/chrome/browser/media/router/media_router_mojo_impl.cc File chrome/browser/media/router/media_router_mojo_impl.cc (right): https://codereview.chromium.org/1245213002/diff/1/chrome/browser/media/router/media_router_mojo_impl.cc#newcode252 chrome/browser/media/router/media_router_mojo_impl.cc:252: NOTIMPLEMENTED(); implement this since you add method to media_router.mojom.
5 years, 5 months ago (2015-07-21 23:00:15 UTC) #3
USE s.singapati at gmail.com
PTAL.
5 years, 5 months ago (2015-07-22 16:00:58 UTC) #5
USE s.singapati at gmail.com
PTAL. https://codereview.chromium.org/1245213002/diff/1/chrome/browser/media/router/media_router_mojo_impl.cc File chrome/browser/media/router/media_router_mojo_impl.cc (right): https://codereview.chromium.org/1245213002/diff/1/chrome/browser/media/router/media_router_mojo_impl.cc#newcode252 chrome/browser/media/router/media_router_mojo_impl.cc:252: NOTIMPLEMENTED(); On 2015/07/21 23:00:15, haibinlu wrote: > implement ...
5 years, 5 months ago (2015-07-22 16:09:51 UTC) #6
Kevin M
https://codereview.chromium.org/1245213002/diff/20002/chrome/browser/media/android/router/media_router_android.cc File chrome/browser/media/android/router/media_router_android.cc (right): https://codereview.chromium.org/1245213002/diff/20002/chrome/browser/media/android/router/media_router_android.cc#newcode45 chrome/browser/media/android/router/media_router_android.cc:45: const std::vector<uint8_t>& data, uint8 https://codereview.chromium.org/1245213002/diff/20002/chrome/browser/media/android/router/media_router_android.h File chrome/browser/media/android/router/media_router_android.h (right): https://codereview.chromium.org/1245213002/diff/20002/chrome/browser/media/android/router/media_router_android.h#newcode40 ...
5 years, 5 months ago (2015-07-22 18:31:50 UTC) #7
Kevin M
https://codereview.chromium.org/1245213002/diff/20002/extensions/renderer/resources/media_router_bindings.js File extensions/renderer/resources/media_router_bindings.js (right): https://codereview.chromium.org/1245213002/diff/20002/extensions/renderer/resources/media_router_bindings.js#newcode497 extensions/renderer/resources/media_router_bindings.js:497: .then(function() { Please refer to the fix in CL ...
5 years, 5 months ago (2015-07-22 18:34:04 UTC) #8
imcheng
https://codereview.chromium.org/1245213002/diff/20002/chrome/browser/media/router/media_router_mojo_impl_unittest.cc File chrome/browser/media/router/media_router_mojo_impl_unittest.cc (right): https://codereview.chromium.org/1245213002/diff/20002/chrome/browser/media/router/media_router_mojo_impl_unittest.cc#newcode395 chrome/browser/media/router/media_router_mojo_impl_unittest.cc:395: std::vector<uint8_t> in_data; nit: you can pass in the data ...
5 years, 5 months ago (2015-07-22 20:51:31 UTC) #9
USE s.singapati at gmail.com
PTAL. https://codereview.chromium.org/1245213002/diff/20002/chrome/browser/media/android/router/media_router_android.cc File chrome/browser/media/android/router/media_router_android.cc (right): https://codereview.chromium.org/1245213002/diff/20002/chrome/browser/media/android/router/media_router_android.cc#newcode45 chrome/browser/media/android/router/media_router_android.cc:45: const std::vector<uint8_t>& data, On 2015/07/22 18:31:50, Kevin M ...
5 years, 5 months ago (2015-07-23 19:52:53 UTC) #10
Kevin M
lgtm https://codereview.chromium.org/1245213002/diff/50001/chrome/browser/media/router/media_router_mojo_impl_unittest.cc File chrome/browser/media/router/media_router_mojo_impl_unittest.cc (right): https://codereview.chromium.org/1245213002/diff/50001/chrome/browser/media/router/media_router_mojo_impl_unittest.cc#newcode403 chrome/browser/media/router/media_router_mojo_impl_unittest.cc:403: cb.Run(true); Verify that |data| matches |expected_binary_data|?
5 years, 5 months ago (2015-07-25 00:24:09 UTC) #11
haibinlu
https://codereview.chromium.org/1245213002/diff/50001/chrome/browser/media/router/media_router.h File chrome/browser/media/router/media_router.h (right): https://codereview.chromium.org/1245213002/diff/50001/chrome/browser/media/router/media_router.h#newcode90 chrome/browser/media/router/media_router.h:90: // This supports additional data types: Blob, ArrayBuffer and ...
5 years, 5 months ago (2015-07-25 01:15:53 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1245213002/70001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1245213002/70001
5 years, 4 months ago (2015-07-28 15:33:45 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-07-28 16:34:21 UTC) #16
haibinlu
lgtm https://codereview.chromium.org/1245213002/diff/70001/chrome/browser/media/router/media_router_mojo_impl.cc File chrome/browser/media/router/media_router_mojo_impl.cc (right): https://codereview.chromium.org/1245213002/diff/70001/chrome/browser/media/router/media_router_mojo_impl.cc#newcode254 chrome/browser/media/router/media_router_mojo_impl.cc:254: base::Unretained(this), route_id, data.get(), data.Pass()
5 years, 4 months ago (2015-07-28 18:57:19 UTC) #17
USE s.singapati at gmail.com
https://codereview.chromium.org/1245213002/diff/70001/chrome/browser/media/router/media_router_mojo_impl.cc File chrome/browser/media/router/media_router_mojo_impl.cc (right): https://codereview.chromium.org/1245213002/diff/70001/chrome/browser/media/router/media_router_mojo_impl.cc#newcode254 chrome/browser/media/router/media_router_mojo_impl.cc:254: base::Unretained(this), route_id, data.get(), On 2015/07/28 18:57:19, haibinlu wrote: > ...
5 years, 4 months ago (2015-07-28 19:11:47 UTC) #18
Kevin M
https://codereview.chromium.org/1245213002/diff/70001/chrome/browser/media/router/media_router_mojo_impl.cc File chrome/browser/media/router/media_router_mojo_impl.cc (right): https://codereview.chromium.org/1245213002/diff/70001/chrome/browser/media/router/media_router_mojo_impl.cc#newcode254 chrome/browser/media/router/media_router_mojo_impl.cc:254: base::Unretained(this), route_id, data.get(), On 2015/07/28 19:11:46, s.singapati wrote: > ...
5 years, 4 months ago (2015-07-28 20:03:37 UTC) #19
Kevin M
not lgtm Canceling LGTM until ownership of byte array is resolved
5 years, 4 months ago (2015-07-28 20:04:26 UTC) #20
USE s.singapati at gmail.com
PTAL. https://codereview.chromium.org/1245213002/diff/50001/chrome/browser/media/router/media_router_mojo_impl_unittest.cc File chrome/browser/media/router/media_router_mojo_impl_unittest.cc (right): https://codereview.chromium.org/1245213002/diff/50001/chrome/browser/media/router/media_router_mojo_impl_unittest.cc#newcode403 chrome/browser/media/router/media_router_mojo_impl_unittest.cc:403: cb.Run(true); On 2015/07/25 00:24:09, Kevin M wrote: > ...
5 years, 4 months ago (2015-07-29 11:22:01 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1245213002/110001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1245213002/110001
5 years, 4 months ago (2015-07-30 04:44:13 UTC) #23
commit-bot: I haz the power
Dry run: A disapproval has been posted by following reviewers: kmarshall@chromium.org. Please make sure to ...
5 years, 4 months ago (2015-07-30 04:44:18 UTC) #25
USE s.singapati at gmail.com
PTAL.
5 years, 4 months ago (2015-07-30 04:44:55 UTC) #26
Kevin M
lgtm
5 years, 4 months ago (2015-07-30 20:30:34 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1245213002/110001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1245213002/110001
5 years, 4 months ago (2015-07-30 21:45:18 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/83580)
5 years, 4 months ago (2015-07-30 21:57:58 UTC) #32
USE s.singapati at gmail.com
Hi Anton, could you please review chrome/browser/media/android/router/ ? Thanks.
5 years, 4 months ago (2015-07-31 02:57:19 UTC) #33
whywhat
lgtm
5 years, 4 months ago (2015-07-31 11:07:30 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1245213002/110001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1245213002/110001
5 years, 4 months ago (2015-07-31 11:07:51 UTC) #36
commit-bot: I haz the power
Committed patchset #7 (id:110001)
5 years, 4 months ago (2015-07-31 11:13:12 UTC) #37
commit-bot: I haz the power
5 years, 4 months ago (2015-07-31 11:14:01 UTC) #38
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/be408ee0d34e3a5d85bed83bc07c137c120881fa
Cr-Commit-Position: refs/heads/master@{#341312}

Powered by Google App Engine
This is Rietveld 408576698