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

Issue 1131913003: Adds QueryResultManager support class for Media Router Dialog WebUI (Closed)

Created:
5 years, 7 months ago by mark a. foltz
Modified:
5 years, 7 months ago
Reviewers:
Bernhard Bauer, imcheng, sky
CC:
chromium-reviews, posciak+watch_chromium.org, media-router+watch_chromium.org, wjia+watch_chromium.org, mcasas+watch_chromium.org, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

QueryResultManager allows the Media Router dialog to query for sets of media sinks compatible with specific media sources. Each media source is in a correspondence to a cast mode (a specific action/button the user can take to initiate casting). NOTE: The mock_media_router.{h,cc} files will be put later into a proper test_support target for the media_router. BUG=464216 Committed: https://crrev.com/34f8e9ed426fe7538f61215e234abdf7f238c001 Cr-Commit-Position: refs/heads/master@{#330014}

Patch Set 1 #

Patch Set 2 : Update chrome/test/BUILD.gn #

Patch Set 3 : Fix chrome_browser_ui.gypi #

Patch Set 4 : Fix copyrights. #

Total comments: 28

Patch Set 5 : Respond to bbauer@ comments #

Patch Set 6 : Revert BUILD.gn and fix bad merge. #

Total comments: 5

Patch Set 7 : Revert unordered_set change. #

Patch Set 8 : Rebase and simplify chrome_tests_unit.gypi #

Patch Set 9 : Remove unnecessary #include #

Unified diffs Side-by-side diffs Delta from patch set Stats (+565 lines, -0 lines) Patch
A chrome/browser/ui/webui/media_router/query_result_manager.h View 1 2 3 4 5 6 1 chunk +148 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/media_router/query_result_manager.cc View 1 2 3 4 5 6 1 chunk +175 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/media_router/query_result_manager_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +231 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (3 generated)
mark a. foltz
bauerb: Please review query_result_manager.{h,cc} and unit test imcheng@: Please review everything sky@: For BUILD.gn, but ...
5 years, 7 months ago (2015-05-07 20:35:11 UTC) #2
sky
https://codereview.chromium.org/1131913003/diff/60001/chrome/test/BUILD.gn File chrome/test/BUILD.gn (right): https://codereview.chromium.org/1131913003/diff/60001/chrome/test/BUILD.gn#newcode217 chrome/test/BUILD.gn:217: "../browser/media/router/mock_media_router.cc", Why do these need to be here and ...
5 years, 7 months ago (2015-05-07 23:14:30 UTC) #3
mark a. foltz
https://codereview.chromium.org/1131913003/diff/60001/chrome/test/BUILD.gn File chrome/test/BUILD.gn (right): https://codereview.chromium.org/1131913003/diff/60001/chrome/test/BUILD.gn#newcode217 chrome/test/BUILD.gn:217: "../browser/media/router/mock_media_router.cc", On 2015/05/07 23:14:30, sky wrote: > Why do ...
5 years, 7 months ago (2015-05-08 00:13:16 UTC) #4
Bernhard Bauer
https://codereview.chromium.org/1131913003/diff/60001/chrome/browser/ui/webui/media_router/query_result_manager.cc File chrome/browser/ui/webui/media_router/query_result_manager.cc (right): https://codereview.chromium.org/1131913003/diff/60001/chrome/browser/ui/webui/media_router/query_result_manager.cc#newcode36 chrome/browser/ui/webui/media_router/query_result_manager.cc:36: if (source.Empty()) { If you have a DCHECK for ...
5 years, 7 months ago (2015-05-08 08:34:34 UTC) #5
mark a. foltz
PTAL. Note: I will wait for our gyp/GN changes to land and rebase before committing, ...
5 years, 7 months ago (2015-05-12 06:23:15 UTC) #6
Bernhard Bauer
https://codereview.chromium.org/1131913003/diff/60001/chrome/browser/ui/webui/media_router/query_result_manager.cc File chrome/browser/ui/webui/media_router/query_result_manager.cc (right): https://codereview.chromium.org/1131913003/diff/60001/chrome/browser/ui/webui/media_router/query_result_manager.cc#newcode80 chrome/browser/ui/webui/media_router/query_result_manager.cc:80: base::hash_set<MediaSinkId> result_sink_ids; On 2015/05/12 06:23:14, mark a. foltz wrote: ...
5 years, 7 months ago (2015-05-12 09:34:34 UTC) #7
mark a. foltz
https://codereview.chromium.org/1131913003/diff/60001/chrome/browser/ui/webui/media_router/query_result_manager.h File chrome/browser/ui/webui/media_router/query_result_manager.h (right): https://codereview.chromium.org/1131913003/diff/60001/chrome/browser/ui/webui/media_router/query_result_manager.h#newcode61 chrome/browser/ui/webui/media_router/query_result_manager.h:61: class Observer { On 2015/05/12 09:34:34, Bernhard Bauer wrote: ...
5 years, 7 months ago (2015-05-12 19:05:26 UTC) #8
Bernhard Bauer
LGTM! https://codereview.chromium.org/1131913003/diff/100001/chrome/browser/ui/webui/media_router/query_result_manager.cc File chrome/browser/ui/webui/media_router/query_result_manager.cc (right): https://codereview.chromium.org/1131913003/diff/100001/chrome/browser/ui/webui/media_router/query_result_manager.cc#newcode145 chrome/browser/ui/webui/media_router/query_result_manager.cc:145: result.first->second.sink = sink; On 2015/05/12 19:05:26, mark a. ...
5 years, 7 months ago (2015-05-13 08:04:25 UTC) #9
mark a. foltz
sky@: I fixed chrome_tests_unit.gypi with a proper target for the mock files needed to land ...
5 years, 7 months ago (2015-05-15 00:17:26 UTC) #10
sky
LGTM
5 years, 7 months ago (2015-05-15 00:58:08 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1131913003/160001
5 years, 7 months ago (2015-05-15 01:27:40 UTC) #14
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 7 months ago (2015-05-15 01:33:19 UTC) #15
commit-bot: I haz the power
5 years, 7 months ago (2015-05-15 01:34:07 UTC) #16
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/34f8e9ed426fe7538f61215e234abdf7f238c001
Cr-Commit-Position: refs/heads/master@{#330014}

Powered by Google App Engine
This is Rietveld 408576698