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

Issue 1436243002: Add render-side manager for MediaSession (Closed)

Created:
5 years, 1 month ago by davve
Modified:
5 years ago
CC:
avayvod+watch_chromium.org, chromium-reviews, creis+watch_chromium.org, 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, nasko+codewatch_chromium.org, posciak+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add render-side manager for MediaSession RendererMediaSessionManager is responsible for storing all user-created media sessions and keeping track for id allocation for those. BUG=497735 Committed: https://crrev.com/859f4f9553797ad1be0718eae2475aa0a614f332 Cr-Commit-Position: refs/heads/master@{#361973}

Patch Set 1 #

Patch Set 2 : Add kDefaultMediaSession constant and a out-of-line destructor #

Patch Set 3 : Add export macros and make RenderMediaSessionManager a RenderFrameObserver as documented in render_… #

Patch Set 4 : destructor overrides #

Patch Set 5 : Restructure includes somewhat and add another override to destructor #

Total comments: 8

Patch Set 6 : Address review comments #

Patch Set 7 : Compile fix #

Total comments: 2

Patch Set 8 : Moar tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+202 lines, -8 lines) Patch
M content/content_renderer.gypi View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
A content/renderer/media/android/renderer_media_session_manager.h View 1 2 3 4 1 chunk +37 lines, -0 lines 0 comments Download
A content/renderer/media/android/renderer_media_session_manager.cc View 1 2 3 4 5 6 1 chunk +35 lines, -0 lines 0 comments Download
M content/renderer/media/android/webmediasession_android.h View 1 2 3 4 1 chunk +9 lines, -3 lines 0 comments Download
M content/renderer/media/android/webmediasession_android.cc View 1 2 3 4 1 chunk +14 lines, -1 line 0 comments Download
A content/renderer/media/android/webmediasession_android_unittest.cc View 1 2 3 4 5 6 7 1 chunk +86 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 4 5 6 7 3 chunks +8 lines, -3 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 4 chunks +10 lines, -1 line 0 comments Download

Messages

Total messages: 48 (22 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436243002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436243002/1
5 years, 1 month ago (2015-11-12 17:24:20 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg_recipe/builds/145552)
5 years, 1 month ago (2015-11-12 17:57:18 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436243002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436243002/60001
5 years, 1 month ago (2015-11-13 13:32:59 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436243002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436243002/80001
5 years, 1 month ago (2015-11-13 14:22:15 UTC) #8
davve
5 years, 1 month ago (2015-11-13 14:30:49 UTC) #12
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-11-13 15:25:42 UTC) #14
philipj_slow
Non-owner LGTM https://codereview.chromium.org/1436243002/diff/80001/content/renderer/media/android/renderer_media_session_manager.cc File content/renderer/media/android/renderer_media_session_manager.cc (right): https://codereview.chromium.org/1436243002/diff/80001/content/renderer/media/android/renderer_media_session_manager.cc#newcode12 content/renderer/media/android/renderer_media_session_manager.cc:12: const int kDefaultMediaSession = 0; // ID ...
5 years, 1 month ago (2015-11-16 14:06:22 UTC) #15
davve
https://codereview.chromium.org/1436243002/diff/80001/content/renderer/media/android/renderer_media_session_manager.cc File content/renderer/media/android/renderer_media_session_manager.cc (right): https://codereview.chromium.org/1436243002/diff/80001/content/renderer/media/android/renderer_media_session_manager.cc#newcode12 content/renderer/media/android/renderer_media_session_manager.cc:12: const int kDefaultMediaSession = 0; // ID of the ...
5 years, 1 month ago (2015-11-16 14:34:27 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436243002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436243002/120001
5 years, 1 month ago (2015-11-18 08:21:19 UTC) #18
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-11-18 09:25:00 UTC) #20
davve
ping
5 years, 1 month ago (2015-11-23 13:16:02 UTC) #21
mlamouri (slow - plz ping)
Sorry for the delay, I was travelling the last couple of weeks. lgtm with comments ...
5 years ago (2015-11-24 14:25:07 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436243002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436243002/140001
5 years ago (2015-11-24 16:51:03 UTC) #24
davve
https://codereview.chromium.org/1436243002/diff/120001/content/renderer/media/android/webmediasession_android_unittest.cc File content/renderer/media/android/webmediasession_android_unittest.cc (right): https://codereview.chromium.org/1436243002/diff/120001/content/renderer/media/android/webmediasession_android_unittest.cc#newcode29 content/renderer/media/android/webmediasession_android_unittest.cc:29: TEST_F(WebMediaSessionTest, TestRegistration) { On 2015/11/24 14:25:07, Mounir Lamouri wrote: ...
5 years ago (2015-11-24 16:52:07 UTC) #26
davidben
(Which files did you want me to review? The whole thing or do you have ...
5 years ago (2015-11-24 17:26:00 UTC) #27
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-11-24 18:35:43 UTC) #29
davve
On 2015/11/24 17:26:00, davidben (slow) wrote: > (Which files did you want me to review? ...
5 years ago (2015-11-24 19:26:53 UTC) #30
davve
Jochen, do you think you can rubberstamp this when you have a moment?
5 years ago (2015-11-26 08:10:55 UTC) #32
jochen (gone - plz use gerrit)
lgtm
5 years ago (2015-11-26 13:20:44 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436243002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436243002/140001
5 years ago (2015-11-26 13:21:54 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/101893)
5 years ago (2015-11-26 16:37:17 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436243002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436243002/140001
5 years ago (2015-11-26 23:37:04 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/102056)
5 years ago (2015-11-27 02:00:30 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436243002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436243002/140001
5 years ago (2015-11-27 10:11:27 UTC) #44
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years ago (2015-11-27 10:16:26 UTC) #46
commit-bot: I haz the power
5 years ago (2015-11-27 10:17:15 UTC) #48
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/859f4f9553797ad1be0718eae2475aa0a614f332
Cr-Commit-Position: refs/heads/master@{#361973}

Powered by Google App Engine
This is Rietveld 408576698