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

Issue 2525563003: mash: Change CastConfigDelegate to a mojoified CastConfigClient. (Closed)

Created:
4 years, 1 month ago by Elliot Glaysher
Modified:
4 years ago
Reviewers:
Tom Sepez, James Cook, sky
CC:
chromium-reviews, sadrul, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, oshima+watch_chromium.org, kalyank, darin (slow to review), davemoore+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mash: Change CastConfigDelegate to a mojoified CastConfigClient. BUG=665074 Committed: https://crrev.com/4ff45be6d3af36828f1042a839cbb5a6a60f6563 Cr-Commit-Position: refs/heads/master@{#436107}

Patch Set 1 #

Patch Set 2 : Rebase to tot #

Patch Set 3 : Maybe fix chromeos compile #

Patch Set 4 : Rebase to tot #

Patch Set 5 : Rebase to ToT #

Patch Set 6 : Fix tests? #

Patch Set 7 : Attempt to fix browser_tests. #

Patch Set 8 : Fix interactive_ui_tests linking #

Patch Set 9 : That was a stupid typo. #

Patch Set 10 : Merge with ToT to fix build failure #

Patch Set 11 : OK, it passes locally? #

Patch Set 12 : Fix compile on not chromeos #

Patch Set 13 : Now for the external apitests as well. #

Total comments: 8

Patch Set 14 : Expreimental wiring this backwards. #

Patch Set 15 : But does it pass on the bots? #

Patch Set 16 : Change shutdown timing. #

Patch Set 17 : Add more RunAllPendingInMessageLoop to the tray tests. #

Total comments: 26

Patch Set 18 : jamescook comments #

Total comments: 1

Patch Set 19 : Remove unused method. #

Total comments: 1

Patch Set 20 : move dep to chromeos section #

Unified diffs Side-by-side diffs Delta from patch set Stats (+460 lines, -574 lines) Patch
M ash/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +2 lines, -2 lines 0 comments Download
A ash/common/cast_config_controller.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +68 lines, -0 lines 0 comments Download
A ash/common/cast_config_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +71 lines, -0 lines 0 comments Download
D ash/common/cast_config_delegate.h View 1 chunk +0 lines, -93 lines 0 comments Download
D ash/common/cast_config_delegate.cc View 1 chunk +0 lines, -21 lines 0 comments Download
M ash/common/mojo_interface_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +7 lines, -0 lines 0 comments Download
M ash/common/system/chromeos/cast/tray_cast.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +8 lines, -6 lines 0 comments Download
M ash/common/system/chromeos/cast/tray_cast.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 21 chunks +55 lines, -58 lines 0 comments Download
M ash/common/system/tray/system_tray_delegate.h View 1 2 3 4 2 chunks +0 lines, -4 lines 0 comments Download
M ash/common/system/tray/system_tray_delegate.cc View 1 4 1 chunk +0 lines, -4 lines 0 comments Download
M ash/common/wm_shell.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +4 lines, -0 lines 0 comments Download
M ash/common/wm_shell.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +2 lines, -0 lines 0 comments Download
M ash/mus/manifest.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -0 lines 0 comments Download
M ash/public/interfaces/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -0 lines 0 comments Download
A ash/public/interfaces/cast_config.mojom View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +62 lines, -0 lines 0 comments Download
M ash/test/tray_cast_test_api.h View 1 chunk +0 lines, -4 lines 0 comments Download
M ash/test/tray_cast_test_api.cc View 2 chunks +0 lines, -10 lines 0 comments Download
M chrome/browser/apps/app_browsertest_util.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/apps/app_browsertest_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +30 lines, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_manifest_overlay.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/file_manager/external_filesystem_apitest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +20 lines, -0 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +2 lines, -2 lines 0 comments Download
A + chrome/browser/ui/ash/cast_config_client_media_router.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +19 lines, -15 lines 0 comments Download
A + chrome/browser/ui/ash/cast_config_client_media_router.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 6 chunks +65 lines, -45 lines 0 comments Download
D chrome/browser/ui/ash/cast_config_delegate_media_router.h View 1 chunk +0 lines, -54 lines 0 comments Download
D chrome/browser/ui/ash/cast_config_delegate_media_router.cc View 1 chunk +0 lines, -238 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 4 chunks +2 lines, -7 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_tray_cast_browsertest_media_router_chromeos.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 7 chunks +18 lines, -9 lines 0 comments Download
M chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +5 lines, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 88 (74 generated)
Elliot Glaysher
4 years ago (2016-11-29 00:22:22 UTC) #25
Elliot Glaysher
Hold up on the review, the test failures on linux_chromium_chromeos_rel_ng look real: [23226:23226:1128/161211:FATAL:file_system_apitest_chromeos.cc(155)] Check failed: ...
4 years ago (2016-11-29 00:58:35 UTC) #26
Elliot Glaysher
ok, this is ready for review for real this time.
4 years ago (2016-11-30 18:16:07 UTC) #41
James Cook
I just looked at the mojom. Apologies for not communicating earlier that I switched SystemTray ...
4 years ago (2016-11-30 22:16:39 UTC) #50
Elliot Glaysher
Chrome now calls into ash. https://codereview.chromium.org/2525563003/diff/240001/ash/public/interfaces/cast_config.mojom File ash/public/interfaces/cast_config.mojom (right): https://codereview.chromium.org/2525563003/diff/240001/ash/public/interfaces/cast_config.mojom#newcode7 ash/public/interfaces/cast_config.mojom:7: struct CastSink { On ...
4 years ago (2016-12-01 23:59:13 UTC) #63
James Cook
Thanks for doing the SetClient conversion. https://codereview.chromium.org/2525563003/diff/320001/ash/common/cast_config_controller.cc File ash/common/cast_config_controller.cc (right): https://codereview.chromium.org/2525563003/diff/320001/ash/common/cast_config_controller.cc#newcode26 ash/common/cast_config_controller.cc:26: if (Connected()) I ...
4 years ago (2016-12-02 04:15:52 UTC) #66
Elliot Glaysher
https://codereview.chromium.org/2525563003/diff/320001/ash/common/cast_config_controller.cc File ash/common/cast_config_controller.cc (right): https://codereview.chromium.org/2525563003/diff/320001/ash/common/cast_config_controller.cc#newcode26 ash/common/cast_config_controller.cc:26: if (Connected()) On 2016/12/02 04:15:52, James Cook wrote: > ...
4 years ago (2016-12-02 19:23:12 UTC) #69
James Cook
LGTM with nit https://codereview.chromium.org/2525563003/diff/340001/ash/common/cast_config_controller.cc File ash/common/cast_config_controller.cc (right): https://codereview.chromium.org/2525563003/diff/340001/ash/common/cast_config_controller.cc#newcode71 ash/common/cast_config_controller.cc:71: void CastConfigController::OnClientConnectionError() { Is this still ...
4 years ago (2016-12-02 20:35:20 UTC) #72
Elliot Glaysher
+sky: chrome/ owners stamp +tsepez: mojom review
4 years ago (2016-12-02 20:47:41 UTC) #75
sky
I'm assuming James reviewed chrome/browser/ui/ash . The rest LGTM https://codereview.chromium.org/2525563003/diff/360001/chrome/test/BUILD.gn File chrome/test/BUILD.gn (right): https://codereview.chromium.org/2525563003/diff/360001/chrome/test/BUILD.gn#newcode494 chrome/test/BUILD.gn:494: ...
4 years ago (2016-12-02 21:23:28 UTC) #77
Tom Sepez
lgtm
4 years ago (2016-12-02 22:48:00 UTC) #80
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/2525563003/380001
4 years ago (2016-12-02 23:00:35 UTC) #83
commit-bot: I haz the power
Committed patchset #20 (id:380001)
4 years ago (2016-12-03 00:47:56 UTC) #86
commit-bot: I haz the power
4 years ago (2016-12-03 00:51:35 UTC) #88
Message was sent while issue was closed.
Patchset 20 (id:??) landed as
https://crrev.com/4ff45be6d3af36828f1042a839cbb5a6a60f6563
Cr-Commit-Position: refs/heads/master@{#436107}

Powered by Google App Engine
This is Rietveld 408576698