tools/variations/fieldtrial_to_struct.py
def _ConvertOverrideUIStrings(override_ui_strings):
  """Converts override_ui_strings to formatted dicts."""
  overrides = []
  for ui_string, override in override_ui_strings.iteritems():
    overrides.append({
        'name_hash': generate_ui_string_overrider.HashName(ui_string),
        'value': override
    })
  return overrides
Converts override_ui_strings to formatted dicts.
Converts override_ui_strings to formatted dicts.
Converts override_ui_strings to formatted dicts .
def _ConvertOverrideUIStrings(override_ui_strings):
  overrides = []
  for ui_string, override in override_ui_strings.iteritems():
    overrides.append({
        'name_hash': generate_ui_string_overrider.HashName(ui_string),
        'value': override
    })
  return overrides
def _ConvertOverrideUIStrings ( override_ui_strings ) : overrides = [ ] for ui_string , override in override_ui_strings . iteritems ( ) : overrides . append ( { 'name_hash' : generate_ui_string_overrider . HashName ( ui_string ) , 'value' : override } ) return overrides
Converts override_ui_strings to formatted dicts.
Converts override_ui_strings to formatted dicts .
"""Converts override_ui_strings to formatted dicts."""
override_ui_strings