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

Unified Diff: chrome/browser/chrome_browser_field_trials_desktop.cc

Issue 141753006: Enable Windows Flash hw video decode trial. (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/ppapi_plugin_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « no previous file | content/browser/ppapi_plugin_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698