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

Issue 2428873002: Add about_flag for experimenting MediaSession on Desktop (Closed)

Created:
4 years, 2 months ago by Zhiqiang Zhang (Slow)
Modified:
4 years, 1 month ago
CC:
asvitkine+watch_chromium.org, chromium-reviews, darin-cc_chromium.org, feature-media-reviews_chromium.org, jam
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a flag to chrome://flags for experimenting with MediaSession on desktop This CL adds a flag for experimenting with MediaSession on desktop to chrome://flags. kFlashJoinsMediaSession is merged into kEnableDefaultMediaSession to make chrome://flags simpler. BUG=619084 Committed: https://crrev.com/d4999814c3f26506f60d77d27003f9b3dcf50afb Cr-Commit-Position: refs/heads/master@{#426219}

Patch Set 1 #

Total comments: 4

Patch Set 2 : using switches #

Total comments: 8

Patch Set 3 : addressed nits #

Patch Set 4 : commenting on "pepper playback" #

Patch Set 5 : fixed build #

Patch Set 6 : fixed cast_shell build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -18 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 1 chunk +19 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 2 chunks +19 lines, -1 line 0 comments Download
M content/browser/media/session/pepper_playback_observer.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/media/session/pepper_playback_observer.cc View 1 chunk +4 lines, -1 line 0 comments Download
M media/base/media_switches.h View 1 2 3 4 5 2 chunks +6 lines, -6 lines 0 comments Download
M media/base/media_switches.cc View 1 2 3 4 5 2 chunks +9 lines, -10 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 40 (14 generated)
Zhiqiang Zhang (Slow)
+avayvod/mlamouri for general review +xhwang for RS media/ +isherman for histograms.xml
4 years, 2 months ago (2016-10-18 12:25:43 UTC) #3
Alexei Svitkine (slow)
What's the reason for switching to a flag from a base::Feature? A base::Feature can already ...
4 years, 2 months ago (2016-10-18 14:00:05 UTC) #4
Zhiqiang Zhang (Slow)
On 2016/10/18 14:00:05, Alexei Svitkine (slow) wrote: > What's the reason for switching to a ...
4 years, 2 months ago (2016-10-18 14:11:18 UTC) #5
Alexei Svitkine (slow)
FEATURE_WITH_VARIATIONS_VALUE_TYPE might be appropriate if your plan is for people to use this mainly from ...
4 years, 2 months ago (2016-10-18 14:17:33 UTC) #6
Zhiqiang Zhang (Slow)
On 2016/10/18 14:17:33, Alexei Svitkine (slow) wrote: > FEATURE_WITH_VARIATIONS_VALUE_TYPE might be appropriate if your plan ...
4 years, 2 months ago (2016-10-18 14:30:48 UTC) #7
Zhiqiang Zhang (Slow)
On 2016/10/18 14:17:33, Alexei Svitkine (slow) wrote: > FEATURE_WITH_VARIATIONS_VALUE_TYPE might be appropriate if your plan ...
4 years, 2 months ago (2016-10-18 15:56:40 UTC) #8
Alexei Svitkine (slow)
Ah, I didn't realise you needed it from content/. In this case, it's probably simpler ...
4 years, 2 months ago (2016-10-18 16:19:37 UTC) #11
Alexei Svitkine (slow)
https://codereview.chromium.org/2428873002/diff/1/content/browser/media/session/pepper_playback_observer.cc File content/browser/media/session/pepper_playback_observer.cc (left): https://codereview.chromium.org/2428873002/diff/1/content/browser/media/session/pepper_playback_observer.cc#oldcode49 content/browser/media/session/pepper_playback_observer.cc:49: if (!base::FeatureList::IsEnabled(media::kFlashJoinsMediaSession)) If you do end up going with ...
4 years, 2 months ago (2016-10-18 16:31:32 UTC) #12
Zhiqiang Zhang (Slow)
PTAL Since feature variation currently cannot be used from content/, I'm going back to the ...
4 years, 2 months ago (2016-10-18 16:46:26 UTC) #13
Alexei Svitkine (slow)
lgtm https://codereview.chromium.org/2428873002/diff/20001/media/base/media_switches.cc File media/base/media_switches.cc (right): https://codereview.chromium.org/2428873002/diff/20001/media/base/media_switches.cc#newcode76 media/base/media_switches.cc:76: const char kEnableDefaultMediaSessionWithFlash[] = "with-flash"; Add a comment ...
4 years, 2 months ago (2016-10-18 16:51:38 UTC) #14
mlamouri (slow - plz ping)
lgtm
4 years, 2 months ago (2016-10-18 16:59:37 UTC) #15
whywhat
lgtm modulo nits & pending agreement with Alexei on flag vs feature. https://codereview.chromium.org/2428873002/diff/1/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd ...
4 years, 2 months ago (2016-10-18 17:23:57 UTC) #16
xhwang
Looking good. I just have a question. What's the roll out plan here? Do you ...
4 years, 2 months ago (2016-10-18 17:26:59 UTC) #17
Zhiqiang Zhang (Slow)
On 2016/10/18 17:26:59, xhwang wrote: > What's the roll out plan here? Do you plan ...
4 years, 2 months ago (2016-10-18 18:51:44 UTC) #18
Zhiqiang Zhang (Slow)
https://chromiumcodereview.appspot.com/2428873002/diff/1/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://chromiumcodereview.appspot.com/2428873002/diff/1/chrome/app/generated_resources.grd#newcode15511 chrome/app/generated_resources.grd:15511: + <!-- Default MediaSession flag --> On 2016/10/18 17:23:57, ...
4 years, 2 months ago (2016-10-18 18:51:55 UTC) #19
Zhiqiang Zhang (Slow)
Hmm, codereview seems down, and I cannot upload the new patch :(
4 years, 2 months ago (2016-10-18 18:55:02 UTC) #20
Zhiqiang Zhang (Slow)
On 2016/10/18 18:55:02, Zhiqiang Zhang wrote: > Hmm, codereview seems down, and I cannot upload ...
4 years, 2 months ago (2016-10-18 20:07:15 UTC) #21
xhwang
lgtm % nit https://chromiumcodereview.appspot.com/2428873002/diff/20001/content/browser/media/session/pepper_playback_observer.cc File content/browser/media/session/pepper_playback_observer.cc (right): https://chromiumcodereview.appspot.com/2428873002/diff/20001/content/browser/media/session/pepper_playback_observer.cc#newcode46 content/browser/media/session/pepper_playback_observer.cc:46: void PepperPlaybackObserver::PepperStartsPlayback(int32_t pp_instance) { On 2016/10/18 ...
4 years, 2 months ago (2016-10-18 20:25:08 UTC) #22
Zhiqiang Zhang (Slow)
https://chromiumcodereview.appspot.com/2428873002/diff/20001/content/browser/media/session/pepper_playback_observer.cc File content/browser/media/session/pepper_playback_observer.cc (right): https://chromiumcodereview.appspot.com/2428873002/diff/20001/content/browser/media/session/pepper_playback_observer.cc#newcode46 content/browser/media/session/pepper_playback_observer.cc:46: void PepperPlaybackObserver::PepperStartsPlayback(int32_t pp_instance) { On 2016/10/18 20:25:08, xhwang wrote: ...
4 years, 2 months ago (2016-10-19 10:22:20 UTC) #25
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/2428873002/60001
4 years, 2 months ago (2016-10-19 10:22:55 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_android on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/cast_shell_android/builds/148534)
4 years, 2 months ago (2016-10-19 11:21:05 UTC) #28
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/2428873002/80001
4 years, 2 months ago (2016-10-19 12:23:28 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_android on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/cast_shell_android/builds/148570)
4 years, 2 months ago (2016-10-19 13:11:17 UTC) #33
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/2428873002/100001
4 years, 2 months ago (2016-10-19 14:56:07 UTC) #36
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 2 months ago (2016-10-19 16:29:26 UTC) #38
commit-bot: I haz the power
4 years, 1 month ago (2016-10-21 13:09:19 UTC) #40
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/d4999814c3f26506f60d77d27003f9b3dcf50afb
Cr-Commit-Position: refs/heads/master@{#426219}

Powered by Google App Engine
This is Rietveld 408576698