components/policy/tools/template_writers/policy_template_generator.py
def _ProcessFutureOn(self, future_on):
    '''Parses and converts the |future_on| strings into a list of dictionaries
    contain product and platform string pair.

    Args:
      future_on: A list of platform strings. E.g.:
      ['chrome.win', 'chromeos']
    Returns:
      future_on: A list of dictionaries. E.g.:
      [{
        'product': 'chrome',
        'platform': 'win',
      },{
        'product': 'chrome_os',
        'platform': 'chrome_os',
      }]
    '''
    result = []
    for future in future_on:
      product, platforms = self._ProcessProductPlatformString(future)
      for platform in platforms:
        result.append({
            'product': product,
            'platform': platform,
        })
    return result
Parses and converts the |future_on| strings into a list of dictionaries
    contain product and platform string pair.

    Args:
      future_on: A list of platform strings. E.g.:
      ['chrome.win', 'chromeos']
    Returns:
      future_on: A list of dictionaries. E.g.:
      [{
        'product': 'chrome',
        'platform': 'win',
      },{
        'product': 'chrome_os',
        'platform': 'chrome_os',
      }]
    
Parses and converts the |future_on| strings into a list of dictionaries
contain product and platform string pair.

A list of platform strings.
Parses and converts the |future_on| strings into a list of dictionaries contain product and platform string pair . A list of platform strings .
def _ProcessFutureOn(self, future_on):
    result = []
    for future in future_on:
      product, platforms = self._ProcessProductPlatformString(future)
      for platform in platforms:
        result.append({
            'product': product,
            'platform': platform,
        })
    return result
def _ProcessFutureOn ( self , future_on ) : result = [ ] for future in future_on : product , platforms = self . _ProcessProductPlatformString ( future ) for platform in platforms : result . append ( { 'product' : product , 'platform' : platform , } ) return result
Parses and converts the |future_on| strings into a list of dictionaries
contain product and platform string pair.
Parses and converts the |future_on| strings into a list of dictionaries contain product and platform string pair .
'''Parses and converts the |future_on| strings into a list of dictionaries
    contain product and platform string pair.

    Args:
      future_on: A list of platform strings. E.g.:
      ['chrome.win', 'chromeos']
    Returns:
      future_on: A list of dictionaries. E.g.:
      [{
        'product': 'chrome',
        'platform': 'win',
      },{
        'product': 'chrome_os',
        'platform': 'chrome_os',
      }]
    '''
self
future_on