Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(389)

Issue 1177073003: [MediaRouter] Update MR-2-Extension's PostMessage to return boolean. (Closed)

Created:
5 years, 6 months ago by haibinlu
Modified:
5 years, 6 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, darin (slow to review), extensions-reviews_chromium.org, 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] Update MR-2-Extension's PostMessage to return boolean. This is then consistent with Blink-2-MR mojo interface. Committed: https://crrev.com/d0702bcea3520e2f3ce751408f897b06afd9f1c0 Cr-Commit-Position: refs/heads/master@{#334109}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addresses Mark's comments #

Total comments: 15

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : Rename SendMessage to SendRouteMessage #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -33 lines) Patch
M chrome/browser/media/router/media_router.h View 1 2 3 4 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/media/router/media_router.mojom View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/media/router/media_router_mojo_impl.h View 1 2 3 4 2 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/media/router/media_router_mojo_impl.cc View 1 2 3 4 2 chunks +12 lines, -8 lines 0 comments Download
M chrome/browser/media/router/media_router_mojo_impl_unittest.cc View 1 2 3 4 2 chunks +20 lines, -4 lines 0 comments Download
M chrome/browser/media/router/mock_media_router.h View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/media/router/test_helper.h View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M extensions/renderer/resources/media_router_bindings.js View 1 2 3 4 3 chunks +13 lines, -8 lines 0 comments Download

Messages

Total messages: 25 (11 generated)
haibinlu
5 years, 6 months ago (2015-06-11 00:53:09 UTC) #2
mark a. foltz
https://codereview.chromium.org/1177073003/diff/1/chrome/browser/media/router/media_router.h File chrome/browser/media/router/media_router.h (right): https://codereview.chromium.org/1177073003/diff/1/chrome/browser/media/router/media_router.h#newcode54 chrome/browser/media/router/media_router.h:54: virtual void PostMessage(const MediaRoute::Id& route_id, We should rename this ...
5 years, 6 months ago (2015-06-11 05:04:29 UTC) #3
haibinlu
PTAL https://codereview.chromium.org/1177073003/diff/1/chrome/browser/media/router/media_router.h File chrome/browser/media/router/media_router.h (right): https://codereview.chromium.org/1177073003/diff/1/chrome/browser/media/router/media_router.h#newcode54 chrome/browser/media/router/media_router.h:54: virtual void PostMessage(const MediaRoute::Id& route_id, On 2015/06/11 05:04:29, ...
5 years, 6 months ago (2015-06-11 17:37:18 UTC) #4
mark a. foltz
lgtm https://codereview.chromium.org/1177073003/diff/20001/extensions/renderer/resources/media_router_bindings.js File extensions/renderer/resources/media_router_bindings.js (right): https://codereview.chromium.org/1177073003/diff/20001/extensions/renderer/resources/media_router_bindings.js#newcode454 extensions/renderer/resources/media_router_bindings.js:454: MediaRouter.prototype.sendMessage = function( It seems odd that the ...
5 years, 6 months ago (2015-06-11 18:48:33 UTC) #5
haibinlu
Hi, Ken, Do you mind reviewing changes in extensions/renderer/resources/media_router_bindings.js? Thanks!
5 years, 6 months ago (2015-06-11 21:12:48 UTC) #7
Ken Rockot(use gerrit already)
lgtm with some comments https://codereview.chromium.org/1177073003/diff/20001/extensions/renderer/resources/media_router_bindings.js File extensions/renderer/resources/media_router_bindings.js (right): https://codereview.chromium.org/1177073003/diff/20001/extensions/renderer/resources/media_router_bindings.js#newcode452 extensions/renderer/resources/media_router_bindings.js:452: * or false on failure. ...
5 years, 6 months ago (2015-06-11 21:22:05 UTC) #8
Kevin M
https://codereview.chromium.org/1177073003/diff/20001/chrome/browser/media/router/media_router.h File chrome/browser/media/router/media_router.h (right): https://codereview.chromium.org/1177073003/diff/20001/chrome/browser/media/router/media_router.h#newcode32 chrome/browser/media/router/media_router.h:32: using SendMessageCallback = base::Callback<void(bool sent)>; Make this a child ...
5 years, 6 months ago (2015-06-11 22:45:24 UTC) #10
haibinlu
https://codereview.chromium.org/1177073003/diff/20001/extensions/renderer/resources/media_router_bindings.js File extensions/renderer/resources/media_router_bindings.js (right): https://codereview.chromium.org/1177073003/diff/20001/extensions/renderer/resources/media_router_bindings.js#newcode452 extensions/renderer/resources/media_router_bindings.js:452: * or false on failure. On 2015/06/11 21:22:04, Ken ...
5 years, 6 months ago (2015-06-11 22:46:23 UTC) #11
haibinlu
https://codereview.chromium.org/1177073003/diff/20001/chrome/browser/media/router/media_router.h File chrome/browser/media/router/media_router.h (right): https://codereview.chromium.org/1177073003/diff/20001/chrome/browser/media/router/media_router.h#newcode32 chrome/browser/media/router/media_router.h:32: using SendMessageCallback = base::Callback<void(bool sent)>; On 2015/06/11 22:45:24, Kevin ...
5 years, 6 months ago (2015-06-11 23:05:23 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1177073003/60001
5 years, 6 months ago (2015-06-11 23:07:04 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/48337)
5 years, 6 months ago (2015-06-12 00:09:32 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1177073003/80001
5 years, 6 months ago (2015-06-12 00:48:04 UTC) #23
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 6 months ago (2015-06-12 01:59:06 UTC) #24
commit-bot: I haz the power
5 years, 6 months ago (2015-06-12 02:00:55 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/d0702bcea3520e2f3ce751408f897b06afd9f1c0
Cr-Commit-Position: refs/heads/master@{#334109}

Powered by Google App Engine
This is Rietveld 408576698