content/test/gpu/gpu_tests/skia_gold_integration_test_base.py
def _GetCombinedHardwareIdentifier(img_params):
  """Combine all relevant hardware identifiers into a single key.

  This makes Gold forwarding more precise by allowing us to forward explicit
  configurations instead of individual components.
  """
  vendor_id = _ToHexOrNone(img_params.vendor_id)
  device_id = _ToHexOrNone(img_params.device_id)
  device_string = _ToNonEmptyStrOrNone(img_params.device_string)
  combined_hw_identifiers = ('vendor_id:{vendor_id}, '
                             'device_id:{device_id}, '
                             'device_string:{device_string}')
  combined_hw_identifiers = combined_hw_identifiers.format(
      vendor_id=vendor_id, device_id=device_id, device_string=device_string)
  return combined_hw_identifiers
Combine all relevant hardware identifiers into a single key.

  This makes Gold forwarding more precise by allowing us to forward explicit
  configurations instead of individual components.
  
Combine all relevant hardware identifiers into a single key.
This makes Gold forwarding more precise by allowing us to forward explicit
configurations instead of individual components.
Combine all relevant hardware identifiers into a single key . This makes Gold forwarding more precise by allowing us to forward explicit configurations instead of individual components .
def _GetCombinedHardwareIdentifier(img_params):
  vendor_id = _ToHexOrNone(img_params.vendor_id)
  device_id = _ToHexOrNone(img_params.device_id)
  device_string = _ToNonEmptyStrOrNone(img_params.device_string)
  combined_hw_identifiers = ('vendor_id:{vendor_id}, '
                             'device_id:{device_id}, '
                             'device_string:{device_string}')
  combined_hw_identifiers = combined_hw_identifiers.format(
      vendor_id=vendor_id, device_id=device_id, device_string=device_string)
  return combined_hw_identifiers
def _GetCombinedHardwareIdentifier ( img_params ) : vendor_id = _ToHexOrNone ( img_params . vendor_id ) device_id = _ToHexOrNone ( img_params . device_id ) device_string = _ToNonEmptyStrOrNone ( img_params . device_string ) combined_hw_identifiers = ( 'vendor_id:{vendor_id}, ' 'device_id:{device_id}, ' 'device_string:{device_string}' ) combined_hw_identifiers = combined_hw_identifiers . format ( vendor_id = vendor_id , device_id = device_id , device_string = device_string ) return combined_hw_identifiers
Combine all relevant hardware identifiers into a single key.
Combine all relevant hardware identifiers into a single key .
"""Combine all relevant hardware identifiers into a single key.

  This makes Gold forwarding more precise by allowing us to forward explicit
  configurations instead of individual components.
  """
img_params