There are combo-boxes consist of 'Default', 'Enabled' and 'Disabled' in chrome://flags. My questions are:
- What determines 'Default' value. (.gyp or source code?)
# Set to 1 to make a build that disables activation of field trial tests
# specified in testing/variations/fieldtrial_testing_config_*.json.
# Note: this setting is ignored if branding=="Chrome".
'fieldtrial_testing_like_official_build%': 0,
----
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
base::CommandLine::ForCurrentProcess()->AppendSwitch(switches::kDisableGestureRequirementForPresentation);--
Hi, guysI'm waking up the thread because it is still unclear for me how to change the default value of a specific flag.I'm trying to change the default value of "kDisableGestureRequirementForMediaPlayback" at the moment and have no luck with that.In about_flags.cc it is displaying with SINGLE_DISABLE_VALUE_TYPE macros, however changing the macros to SINGLE_VALUE_TYPE does not help, and I'm assuming its because it does not modify or set the value but just managing the way the value is displayed.Getting more deep, I've tried to apply the switch later within ChromeMainDelegate::BasicStartupComplete. Didn't work.base::CommandLine::ForCurrentProcess()->AppendSwitch(switches::kDisableGestureRequirementForPresentation);
So I'm basically wondering where those values are applied and how can I modify their default values?Thanks
пятница, 11 марта 2016 г., 23:27:02 UTC+1 пользователь Peter Kasting написал:On Fri, Mar 11, 2016 at 2:14 PM, Suzuki <taro.su...@gmail.com> wrote:There are combo-boxes consist of 'Default', 'Enabled' and 'Disabled' in chrome://flags. My questions are:
- What determines 'Default' value. (.gyp or source code?)
"Default" has a default value set by source code but in many cases can be overridden dynamically by the field trial code. Selecting one of the other values forces that value and prevents field trials from toggling it.This also means local tests of what "Default" equates to are unreliable, as one of your builds may wind up in a different field trial than another.PK
--