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

Issue 1243173003: [MediaRouter] Moved the code useful for Android to MediaRouterDialogController (Closed)

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

Description

[MediaRouter] Moved the code useful for Android to MediaRouterDialogController Moved presentation_request_ and initiator_ with initiator_observer_ BUG=519549 Committed: https://crrev.com/69b3a41fdbd8699477f770f9bec2f7b6d3073f37 Cr-Commit-Position: refs/heads/master@{#340904}

Patch Set 1 #

Patch Set 2 : Fixed desktop builds #

Patch Set 3 : Moved base CloseMediaRouterDialog to the end of the derived implementation method #

Total comments: 30

Patch Set 4 : Addressed comments #

Patch Set 5 : Fixed compile on the bots. #

Patch Set 6 : Rebase #

Total comments: 36

Patch Set 7 : Addressed comments #

Patch Set 8 : Fixed the unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+220 lines, -171 lines) Patch
M chrome/browser/media/android/router/media_router_dialog_controller_android.h View 1 2 3 4 5 6 3 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/media/android/router/media_router_dialog_controller_android.cc View 1 2 3 4 5 6 1 chunk +12 lines, -6 lines 0 comments Download
M chrome/browser/media/router/media_router_dialog_controller.h View 1 2 3 4 5 6 3 chunks +61 lines, -12 lines 0 comments Download
M chrome/browser/media/router/media_router_dialog_controller.cc View 1 2 3 4 5 6 7 2 chunks +96 lines, -0 lines 0 comments Download
M chrome/browser/ui/toolbar/media_router_action.h View 1 2 3 4 5 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/toolbar/media_router_action.cc View 1 2 3 4 5 6 3 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/ui/webui/media_router/media_router_dialog_controller_impl.h View 1 2 3 4 5 6 1 chunk +8 lines, -32 lines 0 comments Download
M chrome/browser/ui/webui/media_router/media_router_dialog_controller_impl.cc View 1 2 3 4 5 6 8 chunks +18 lines, -98 lines 0 comments Download
M chrome/browser/ui/webui/media_router/media_router_dialog_controller_impl_browsertest.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/media_router/media_router_dialog_controller_impl_unittest.cc View 1 2 3 4 5 6 6 chunks +12 lines, -6 lines 0 comments Download
M chrome/browser/ui/webui/media_router/media_router_ui.cc View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 53 (20 generated)
whywhat
PTaL Jennifer, your approval is needed for the webui bit. Haibin, your approval is needed ...
5 years, 5 months ago (2015-07-21 19:59:36 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1243173003/1
5 years, 5 months ago (2015-07-21 20:00:54 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_gn_dbg on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_dbg/builds/94544)
5 years, 5 months ago (2015-07-21 20:11:57 UTC) #6
whywhat
Fixed desktop builds
5 years, 5 months ago (2015-07-22 16:01:24 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1243173003/20001
5 years, 5 months ago (2015-07-22 16:02:00 UTC) #9
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/81381)
5 years, 5 months ago (2015-07-22 16:28:35 UTC) #11
whywhat
Moved base CloseMediaRouterDialog to the end of the derived implementation method
5 years, 5 months ago (2015-07-22 19:18:09 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/1243173003/40001
5 years, 5 months ago (2015-07-22 19:19:39 UTC) #14
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/90219)
5 years, 5 months ago (2015-07-22 20:19:04 UTC) #16
imcheng
https://codereview.chromium.org/1243173003/diff/40001/chrome/browser/media/router/media_router_dialog_controller.cc File chrome/browser/media/router/media_router_dialog_controller.cc (right): https://codereview.chromium.org/1243173003/diff/40001/chrome/browser/media/router/media_router_dialog_controller.cc#newcode38 chrome/browser/media/router/media_router_dialog_controller.cc:38: } DCHECK(dialog_controller_); https://codereview.chromium.org/1243173003/diff/40001/chrome/browser/media/router/media_router_dialog_controller.cc#newcode70 chrome/browser/media/router/media_router_dialog_controller.cc:70: DCHECK(initiator_); DCHECK not needed as ...
5 years, 5 months ago (2015-07-23 00:41:14 UTC) #17
whywhat
Addressed comments
5 years, 5 months ago (2015-07-23 21:17:51 UTC) #18
whywhat
PTAL Addressed Derek's comments and also some comments from Mark and Jennifer from the previous ...
5 years, 5 months ago (2015-07-23 21:20:10 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1243173003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1243173003/60001
5 years, 5 months ago (2015-07-23 21:21:12 UTC) #21
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/111909) linux_chromium_compile_dbg_32_ng on ...
5 years, 5 months ago (2015-07-23 21:30:00 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1243173003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1243173003/100001
5 years, 5 months ago (2015-07-24 14:32:56 UTC) #25
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 5 months ago (2015-07-24 15:21:38 UTC) #27
whywhat
On 2015/07/24 at 15:21:38, commit-bot wrote: > Dry run: This issue passed the CQ dry ...
5 years, 5 months ago (2015-07-24 16:06:31 UTC) #28
whywhat
Jennifer, please review chrome/browser/ui/webui/media_router/ Mark, please review chrome/browser/media/router/ Peter, please review chrome/browser/ui/toolbar/
5 years, 5 months ago (2015-07-24 19:59:13 UTC) #30
mark a. foltz
Mostly looks good, a few adjustments to the API requested. I would like Derek to ...
5 years, 5 months ago (2015-07-24 20:10:35 UTC) #32
apacible
https://codereview.chromium.org/1243173003/diff/100001/chrome/browser/ui/webui/media_router/media_router_dialog_controller_impl.cc File chrome/browser/ui/webui/media_router/media_router_dialog_controller_impl.cc (right): https://codereview.chromium.org/1243173003/diff/100001/chrome/browser/ui/webui/media_router/media_router_dialog_controller_impl.cc#newcode167 chrome/browser/ui/webui/media_router/media_router_dialog_controller_impl.cc:167: return !!GetMediaRouterDialog(); Does this negate itself? https://codereview.chromium.org/1243173003/diff/100001/chrome/browser/ui/webui/media_router/media_router_dialog_controller_impl_browsertest.cc File chrome/browser/ui/webui/media_router/media_router_dialog_controller_impl_browsertest.cc ...
5 years, 5 months ago (2015-07-24 20:41:07 UTC) #33
imcheng
The desktop logic looks okay. https://codereview.chromium.org/1243173003/diff/100001/chrome/browser/media/router/media_router_dialog_controller.h File chrome/browser/media/router/media_router_dialog_controller.h (right): https://codereview.chromium.org/1243173003/diff/100001/chrome/browser/media/router/media_router_dialog_controller.h#newcode43 chrome/browser/media/router/media_router_dialog_controller.h:43: // Closes the media ...
5 years, 5 months ago (2015-07-24 22:09:28 UTC) #34
Peter Kasting
LGTM, feel free to TBR mechanical changes
5 years, 4 months ago (2015-07-27 20:25:18 UTC) #36
whywhat
Thanks all for the comments (and Peter for lgtm). Mark, Jennifer, Derek, PTAL! https://codereview.chromium.org/1243173003/diff/100001/chrome/browser/media/router/media_router_dialog_controller.cc File ...
5 years, 4 months ago (2015-07-28 18:52:54 UTC) #38
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1243173003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1243173003/120001
5 years, 4 months ago (2015-07-28 18:52:58 UTC) #39
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/114669)
5 years, 4 months ago (2015-07-28 19:15:33 UTC) #41
mark a. foltz
lgtm++ thanks for addressing design comments with this patch. Looks like there are a few ...
5 years, 4 months ago (2015-07-28 21:23:55 UTC) #42
apacible
lgtm, thanks! https://codereview.chromium.org/1243173003/diff/100001/chrome/browser/ui/webui/media_router/media_router_dialog_controller_impl.cc File chrome/browser/ui/webui/media_router/media_router_dialog_controller_impl.cc (right): https://codereview.chromium.org/1243173003/diff/100001/chrome/browser/ui/webui/media_router/media_router_dialog_controller_impl.cc#newcode167 chrome/browser/ui/webui/media_router/media_router_dialog_controller_impl.cc:167: return !!GetMediaRouterDialog(); On 2015/07/28 18:52:53, whywhat wrote: ...
5 years, 4 months ago (2015-07-28 21:27:26 UTC) #43
whywhat
Fixed the unit test
5 years, 4 months ago (2015-07-29 15:00:14 UTC) #44
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1243173003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1243173003/140001
5 years, 4 months ago (2015-07-29 15:00:40 UTC) #46
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-07-29 16:15:57 UTC) #48
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1243173003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1243173003/140001
5 years, 4 months ago (2015-07-29 16:52:52 UTC) #51
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 4 months ago (2015-07-29 16:58:25 UTC) #52
commit-bot: I haz the power
5 years, 4 months ago (2015-07-29 16:59:13 UTC) #53
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/69b3a41fdbd8699477f770f9bec2f7b6d3073f37
Cr-Commit-Position: refs/heads/master@{#340904}

Powered by Google App Engine
This is Rietveld 408576698