tools/variations/bisect_variations.py
def _LocateBrowser_Win(browser_type):
  """Locates browser executable path based on input browser type.

  Args:
      browser_type: 'stable', 'beta', 'dev', 'canary', or 'chromium'.

  Returns:
      Browser executable path.
  """
  if browser_type in ['stable', 'beta', 'dev']:
    return os.path.join(os.getenv('ProgramFiles(x86)'),
                        _CHROME_PATH_WIN[browser_type])
  else:
    assert browser_type in ['canary', 'chromium']
    return os.path.join(os.getenv('LOCALAPPDATA'),
                        _CHROME_PATH_WIN[browser_type])
Locates browser executable path based on input browser type.

  Args:
      browser_type: 'stable', 'beta', 'dev', 'canary', or 'chromium'.

  Returns:
      Browser executable path.
  
Locates browser executable path based on input browser type.
Locates browser executable path based on input browser type .
def _LocateBrowser_Win(browser_type):
  if browser_type in ['stable', 'beta', 'dev']:
    return os.path.join(os.getenv('ProgramFiles(x86)'),
                        _CHROME_PATH_WIN[browser_type])
  else:
    assert browser_type in ['canary', 'chromium']
    return os.path.join(os.getenv('LOCALAPPDATA'),
                        _CHROME_PATH_WIN[browser_type])
def _LocateBrowser_Win ( browser_type ) : if browser_type in [ 'stable' , 'beta' , 'dev' ] : return os . path . join ( os . getenv ( 'ProgramFiles(x86)' ) , _CHROME_PATH_WIN [ browser_type ] ) else : assert browser_type in [ 'canary' , 'chromium' ] return os . path . join ( os . getenv ( 'LOCALAPPDATA' ) , _CHROME_PATH_WIN [ browser_type ] )
Locates browser executable path based on input browser type.
Locates browser executable path based on input browser type .
"""Locates browser executable path based on input browser type.

  Args:
      browser_type: 'stable', 'beta', 'dev', 'canary', or 'chromium'.

  Returns:
      Browser executable path.
  """
Browser executable path.
Browser executable path .
browser_type
'stable', 'beta', 'dev', 'canary', or 'chromium'.
' stable ' ' beta ' ' dev ' ' canary ' or ' chromium ' .