Chromium Code Reviews| Index: chrome/browser/chrome_browser_field_trials_desktop.cc |
| =================================================================== |
| --- chrome/browser/chrome_browser_field_trials_desktop.cc (revision 244571) |
| +++ chrome/browser/chrome_browser_field_trials_desktop.cc (working copy) |
| @@ -67,15 +67,20 @@ |
| trial->Disable(); |
| } |
| -void SetupLowLatencyFlashAudioFieldTrial() { |
| +void SetupFlashHardwareVideoDecodeFieldTrial() { |
| +#if defined(OS_WIN) |
|
cpu_(ooo_6.6-7.5)
2014/01/19 20:56:39
do we need #if defined (OS_WIN) ?
Would the non-t
ilja
2014/01/21 21:15:29
No, the mac/linux players don't ignore the Flag. I
|
| scoped_refptr<base::FieldTrial> trial( |
| base::FieldTrialList::FactoryGetFieldTrial( |
| - content::kLowLatencyFlashAudioFieldTrialName, 100, "Standard", |
| - 2013, 9, 1, base::FieldTrial::SESSION_RANDOMIZED, NULL)); |
| + content::kFlashHwVideoDecodeFieldTrialName, 1000, "Standard", |
|
DaleCurtis
2014/01/21 18:54:41
Why 1000? 1 and 50 would work below, no?
ilja
2014/01/21 21:15:29
If we stick with the current numbers then I will c
|
| + 2014, 9, 1, base::FieldTrial::SESSION_RANDOMIZED, NULL)); |
| - // Trial is enabled for dev / beta / canary users only. |
| - if (chrome::VersionInfo::GetChannel() != chrome::VersionInfo::CHANNEL_STABLE) |
| - trial->AppendGroup(content::kLowLatencyFlashAudioFieldTrialEnabledName, 25); |
| + // Trial is enabled for Windows dev / beta / canary users at 50% probability |
| + // and stable with 1%. |
| + if (chrome::VersionInfo::GetChannel() == chrome::VersionInfo::CHANNEL_STABLE) |
| + trial->AppendGroup(content::kFlashHwVideoDecodeFieldTrialEnabledName, 10); |
| + else |
| + trial->AppendGroup(content::kFlashHwVideoDecodeFieldTrialEnabledName, 500); |
| +#endif // defined(OS_WIN) |
| } |
| void SetupPreReadFieldTrial() { |
| @@ -133,7 +138,7 @@ |
| SetupInfiniteCacheFieldTrial(); |
| DisableShowProfileSwitcherTrialIfNecessary(); |
| SetupShowAppLauncherPromoFieldTrial(local_state); |
| - SetupLowLatencyFlashAudioFieldTrial(); |
| + SetupFlashHardwareVideoDecodeFieldTrial(); |
| SetupPreReadFieldTrial(); |
| } |