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

Issue 2679893002: [Media Router] Add ProvideSinks() Mojo API (Closed)

Created:
3 years, 10 months ago by zhaobin
Modified:
3 years, 8 months ago
CC:
Aaron Boodman, abarth-chromium, chfremer+watch_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, darin (slow to review), extensions-reviews_chromium.org, feature-media-reviews_chromium.org, mcasas+watch+vc_chromium.org, media-router+watch_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Media Router] Add ProvideSinks() Mojo API - added ProvideSinks() to media_router.mojom - added ProvideSinks() to media_router.h cl/146753004 added ProvideSinks() to component extension. BUG=687365 Review-Url: https://codereview.chromium.org/2679893002 Cr-Commit-Position: refs/heads/master@{#462333} Committed: https://chromium.googlesource.com/chromium/src/+/b254a456ab6527124ce5aff9acc231eed34605c4

Patch Set 1 #

Total comments: 14

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

Patch Set 3 : merge with https://codereview.chromium.org/2675033002/ #

Total comments: 9

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

Total comments: 2

Patch Set 5 : resolve code review comments from btolsch #

Patch Set 6 : merge with master #

Patch Set 7 : rebase with master #

Patch Set 8 : fix android compile error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -19 lines) Patch
M chrome/browser/media/android/router/media_router_android.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/media/android/router/media_router_android.cc View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/media/router/media_router.h View 1 2 3 4 5 6 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/media/router/mock_media_router.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/media/router/mojo/media_router.mojom View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/media/router/mojo/media_router_mojo_impl.h View 1 2 3 4 5 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/media/router/mojo/media_router_mojo_impl.cc View 1 2 3 4 5 6 2 chunks +17 lines, -0 lines 0 comments Download
M chrome/browser/media/router/mojo/media_router_mojo_impl_unittest.cc View 1 2 3 4 5 6 1 chunk +19 lines, -0 lines 0 comments Download
M chrome/browser/media/router/mojo/media_router_mojo_metrics.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/media/router/mojo/media_router_mojo_test.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/media/router/mojo/media_router_struct_traits_unittest.cc View 1 2 3 4 5 3 chunks +3 lines, -18 lines 0 comments Download
M extensions/renderer/resources/media_router_bindings.js View 1 2 3 4 5 6 3 chunks +16 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 31 (16 generated)
zhaobin
3 years, 10 months ago (2017-02-07 22:20:48 UTC) #2
dcheng
mojo lgtm
3 years, 10 months ago (2017-02-08 23:03:21 UTC) #3
mark a. foltz
https://codereview.chromium.org/2679893002/diff/1/chrome/browser/media/router/media_router.h File chrome/browser/media/router/media_router.h (right): https://codereview.chromium.org/2679893002/diff/1/chrome/browser/media/router/media_router.h#newcode62 chrome/browser/media/router/media_router.h:62: using MediaSinkList = std::vector<std::unique_ptr<MediaSink>>; Should MediaSink be move-only? Or ...
3 years, 10 months ago (2017-02-10 01:23:55 UTC) #4
imcheng
https://codereview.chromium.org/2679893002/diff/1/chrome/browser/media/router/media_router.h File chrome/browser/media/router/media_router.h (right): https://codereview.chromium.org/2679893002/diff/1/chrome/browser/media/router/media_router.h#newcode62 chrome/browser/media/router/media_router.h:62: using MediaSinkList = std::vector<std::unique_ptr<MediaSink>>; On 2017/02/10 01:23:55, mark a. ...
3 years, 10 months ago (2017-02-10 22:45:19 UTC) #5
zhaobin
https://codereview.chromium.org/2679893002/diff/1/chrome/browser/media/router/media_router.h File chrome/browser/media/router/media_router.h (right): https://codereview.chromium.org/2679893002/diff/1/chrome/browser/media/router/media_router.h#newcode62 chrome/browser/media/router/media_router.h:62: using MediaSinkList = std::vector<std::unique_ptr<MediaSink>>; On 2017/02/10 22:45:18, imcheng wrote: ...
3 years, 10 months ago (2017-02-16 22:56:36 UTC) #6
mark a. foltz
lgtm https://codereview.chromium.org/2679893002/diff/40001/chrome/browser/media/router/media_router.h File chrome/browser/media/router/media_router.h (right): https://codereview.chromium.org/2679893002/diff/40001/chrome/browser/media/router/media_router.h#newcode67 chrome/browser/media/router/media_router.h:67: using MediaSinkList = std::vector<MediaSinkInternal>; Nit: For consistency with ...
3 years, 9 months ago (2017-03-01 06:31:43 UTC) #7
imcheng
lgtm https://codereview.chromium.org/2679893002/diff/40001/chrome/browser/media/router/media_router.h File chrome/browser/media/router/media_router.h (right): https://codereview.chromium.org/2679893002/diff/40001/chrome/browser/media/router/media_router.h#newcode177 chrome/browser/media/router/media_router.h:177: // Called when DIAL or CAST MediaSinkService finishes ...
3 years, 9 months ago (2017-03-01 23:28:36 UTC) #8
btolsch
https://codereview.chromium.org/2679893002/diff/60001/extensions/renderer/resources/media_router_bindings.js File extensions/renderer/resources/media_router_bindings.js (right): https://codereview.chromium.org/2679893002/diff/60001/extensions/renderer/resources/media_router_bindings.js#newcode857 extensions/renderer/resources/media_router_bindings.js:857: MediaRouteProvider.prototype.provideSinks = function(sinks) { This seems to be inconsistent ...
3 years, 9 months ago (2017-03-02 06:04:42 UTC) #9
zhaobin
+haraken@ to review histograms.xml changes: tools/metrics/histograms/histograms.xml https://codereview.chromium.org/2679893002/diff/40001/chrome/browser/media/router/media_router.h File chrome/browser/media/router/media_router.h (right): https://codereview.chromium.org/2679893002/diff/40001/chrome/browser/media/router/media_router.h#newcode67 chrome/browser/media/router/media_router.h:67: using MediaSinkList = ...
3 years, 9 months ago (2017-03-02 20:24:04 UTC) #11
haraken
+isherman (I'm eligible to review UseCounter-only changes in histograms.)
3 years, 9 months ago (2017-03-02 23:18:07 UTC) #13
Ilya Sherman
histograms.xml lgtm
3 years, 9 months ago (2017-03-02 23:26:07 UTC) #14
mark a. foltz
On 2017/03/02 at 23:26:07, isherman wrote: > histograms.xml lgtm Does this need additional review/work? (Just ...
3 years, 9 months ago (2017-03-18 18:16:38 UTC) #15
zhaobin
On 2017/03/18 18:16:38, mark a. foltz wrote: > On 2017/03/02 at 23:26:07, isherman wrote: > ...
3 years, 9 months ago (2017-03-20 18:29:20 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/2679893002/140001
3 years, 8 months ago (2017-04-06 02:40:14 UTC) #28
commit-bot: I haz the power
3 years, 8 months ago (2017-04-06 02:46:13 UTC) #31
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/b254a456ab6527124ce5aff9acc2...

Powered by Google App Engine
This is Rietveld 408576698