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

Issue 1515623002: Media Session: passing metadata from renderer/ to browser/. (Closed)

Created:
5 years ago by mlamouri (slow - plz ping)
Modified:
4 years, 11 months ago
CC:
avayvod+watch_chromium.org, chromium-reviews, darin-cc_chromium.org, feature-media-reviews_chromium.org, jam, mcasas+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, mlamouri+watch-media_chromium.org, posciak+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@media_session_ipc
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Media Session: passing metadata from renderer/ to browser/. This is implementing the IPC logic but also adds the base classes that are required to use MediaMetadata in content/. This CL is written on top of: https://codereview.chromium.org/1441883003 BUG=497735 Committed: https://crrev.com/08842a7edc1618ba5c86faff3977b5ca03637bdf Cr-Commit-Position: refs/heads/master@{#371510}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : cleanup #

Total comments: 26

Patch Set 4 : comments and rebase #

Patch Set 5 : review comments #

Total comments: 2

Patch Set 6 : semicolon #

Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -9 lines) Patch
M content/browser/media/android/browser_media_session_manager.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/media/android/browser_media_session_manager.cc View 1 2 3 4 2 chunks +23 lines, -0 lines 0 comments Download
M content/browser/media/android/media_web_contents_observer_android.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/media/android/media_web_contents_observer_android.cc View 1 2 3 4 5 3 chunks +28 lines, -7 lines 0 comments Download
M content/common/media/media_session_messages_android.h View 1 2 3 2 chunks +11 lines, -0 lines 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
A content/public/common/media_metadata.h View 1 2 3 4 1 chunk +40 lines, -0 lines 0 comments Download
A content/public/common/media_metadata.cc View 1 2 3 4 1 chunk +23 lines, -0 lines 0 comments Download
M content/renderer/media/android/renderer_media_session_manager.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M content/renderer/media/android/renderer_media_session_manager.cc View 1 2 3 4 2 chunks +18 lines, -0 lines 0 comments Download
M content/renderer/media/android/webmediasession_android.cc View 1 2 chunks +11 lines, -2 lines 0 comments Download

Messages

Total messages: 26 (7 generated)
mlamouri (slow - plz ping)
Can you PTAL at: - jochen@: content/ OWNERS stamp - mkwst@: content/common/media/*messages*.h - davve@, philipj@ ...
5 years ago (2015-12-11 09:38:48 UTC) #3
DaleCurtis
It also seems like the session managers should move up out of the android directory, ...
5 years ago (2015-12-11 17:16:01 UTC) #4
Mike West
IPC LGTM, thanks for adding in the sanity checks. :)
5 years ago (2015-12-13 07:38:07 UTC) #5
jochen (gone - plz use gerrit)
https://codereview.chromium.org/1515623002/diff/40001/content/browser/media/android/browser_media_session_manager.cc File content/browser/media/android/browser_media_session_manager.cc (right): https://codereview.chromium.org/1515623002/diff/40001/content/browser/media/android/browser_media_session_manager.cc#newcode42 content/browser/media/android/browser_media_session_manager.cc:42: kill the renderer if insecure_metadata != metadata? https://codereview.chromium.org/1515623002/diff/40001/content/public/common/media_metadata.cc File ...
5 years ago (2015-12-14 12:38:30 UTC) #6
philipj_slow
https://codereview.chromium.org/1515623002/diff/40001/content/browser/media/android/browser_media_session_manager.cc File content/browser/media/android/browser_media_session_manager.cc (right): https://codereview.chromium.org/1515623002/diff/40001/content/browser/media/android/browser_media_session_manager.cc#newcode32 content/browser/media/android/browser_media_session_manager.cc:32: MediaMetadata metadata = insecure_metadata; Can you initialize it to ...
5 years ago (2015-12-14 14:09:25 UTC) #7
mlamouri (slow - plz ping)
PTAL. https://codereview.chromium.org/1515623002/diff/40001/content/browser/media/android/browser_media_session_manager.cc File content/browser/media/android/browser_media_session_manager.cc (right): https://codereview.chromium.org/1515623002/diff/40001/content/browser/media/android/browser_media_session_manager.cc#newcode32 content/browser/media/android/browser_media_session_manager.cc:32: MediaMetadata metadata = insecure_metadata; On 2015/12/14 at 14:09:24, ...
4 years, 11 months ago (2016-01-05 16:01:17 UTC) #8
mlamouri (slow - plz ping)
review ping
4 years, 11 months ago (2016-01-18 12:22:53 UTC) #9
mlamouri (slow - plz ping)
review ping
4 years, 11 months ago (2016-01-18 12:22:53 UTC) #10
philipj_slow
https://codereview.chromium.org/1515623002/diff/40001/content/public/common/media_metadata.h File content/public/common/media_metadata.h (right): https://codereview.chromium.org/1515623002/diff/40001/content/public/common/media_metadata.h#newcode24 content/public/common/media_metadata.h:24: base::NullableString16 title; On 2016/01/05 16:01:17, Mounir Lamouri wrote: > ...
4 years, 11 months ago (2016-01-18 12:31:43 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1515623002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1515623002/80001
4 years, 11 months ago (2016-01-19 14:19:31 UTC) #13
mlamouri (slow - plz ping)
Comments applied. PTAL. https://codereview.chromium.org/1515623002/diff/40001/content/public/common/media_metadata.h File content/public/common/media_metadata.h (right): https://codereview.chromium.org/1515623002/diff/40001/content/public/common/media_metadata.h#newcode24 content/public/common/media_metadata.h:24: base::NullableString16 title; On 2016/01/18 at 12:31:43, ...
4 years, 11 months ago (2016-01-19 14:20:09 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-19 15:23:53 UTC) #16
mlamouri (slow - plz ping)
review ping.
4 years, 11 months ago (2016-01-25 21:26:23 UTC) #17
philipj_slow
lgtm https://codereview.chromium.org/1515623002/diff/80001/content/browser/media/android/media_web_contents_observer_android.cc File content/browser/media/android/media_web_contents_observer_android.cc (right): https://codereview.chromium.org/1515623002/diff/80001/content/browser/media/android/media_web_contents_observer_android.cc#newcode184 content/browser/media/android/media_web_contents_observer_android.cc:184: IPC_MESSAGE_UNHANDLED(handled = false); Was this added semicolon a ...
4 years, 11 months ago (2016-01-26 02:02:30 UTC) #18
mlamouri (slow - plz ping)
jochen@, PTAL :) https://codereview.chromium.org/1515623002/diff/80001/content/browser/media/android/media_web_contents_observer_android.cc File content/browser/media/android/media_web_contents_observer_android.cc (right): https://codereview.chromium.org/1515623002/diff/80001/content/browser/media/android/media_web_contents_observer_android.cc#newcode184 content/browser/media/android/media_web_contents_observer_android.cc:184: IPC_MESSAGE_UNHANDLED(handled = false); On 2016/01/26 at ...
4 years, 11 months ago (2016-01-26 10:48:21 UTC) #19
jochen (gone - plz use gerrit)
lgtm
4 years, 11 months ago (2016-01-26 11:57:20 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1515623002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1515623002/100001
4 years, 11 months ago (2016-01-26 13:39:30 UTC) #23
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 11 months ago (2016-01-26 14:49:46 UTC) #24
commit-bot: I haz the power
4 years, 11 months ago (2016-01-26 14:50:50 UTC) #26
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/08842a7edc1618ba5c86faff3977b5ca03637bdf
Cr-Commit-Position: refs/heads/master@{#371510}

Powered by Google App Engine
This is Rietveld 408576698