tools/variations/bisect_variations.py
def _BuildBrowserArgs(user_data_dir, extra_browser_args, variations_args):
  """Builds commandline switches browser runs with.

  Args:
      user_data_dir: A path that is used as user data dir.
      extra_browser_args: A list of extra commandline switches browser runs
          with.
      variations_args: A list of commandline switches that defines the
          variations cmd browser runs with.

  Returns:
      A list of commandline switches.
  """
  # Make sure each run is fresh, but avoid first run setup steps.
  browser_args = [
    '--no-first-run',
    '--no-default-browser-check',
    '--user-data-dir=%s' % user_data_dir,
  ]
  browser_args.extend(extra_browser_args)
  browser_args.extend(variations_args)
  return browser_args
Builds commandline switches browser runs with.

  Args:
      user_data_dir: A path that is used as user data dir.
      extra_browser_args: A list of extra commandline switches browser runs
          with.
      variations_args: A list of commandline switches that defines the
          variations cmd browser runs with.

  Returns:
      A list of commandline switches.
  
Builds commandline switches browser runs with.
Builds commandline switches browser runs with .
def _BuildBrowserArgs(user_data_dir, extra_browser_args, variations_args):
  browser_args = [
    '--no-first-run',
    '--no-default-browser-check',
    '--user-data-dir=%s' % user_data_dir,
  ]
  browser_args.extend(extra_browser_args)
  browser_args.extend(variations_args)
  return browser_args
def _BuildBrowserArgs ( user_data_dir , extra_browser_args , variations_args ) : browser_args = [ '--no-first-run' , '--no-default-browser-check' , '--user-data-dir=%s' % user_data_dir , ] browser_args . extend ( extra_browser_args ) browser_args . extend ( variations_args ) return browser_args
Builds commandline switches browser runs with.
Builds commandline switches browser runs with .
"""Builds commandline switches browser runs with.

  Args:
      user_data_dir: A path that is used as user data dir.
      extra_browser_args: A list of extra commandline switches browser runs
          with.
      variations_args: A list of commandline switches that defines the
          variations cmd browser runs with.

  Returns:
      A list of commandline switches.
  """ # Make sure each run is fresh, but avoid first run setup steps.
A list of commandline switches.
A list of commandline switches .
user_data_dir
A path that is used as user data dir.
A path that is used as user data dir .
extra_browser_args
A list of extra commandline switches browser runs
with.
A list of extra commandline switches browser runs with .
variations_args
A list of commandline switches that defines the
variations cmd browser runs with.
A list of commandline switches that defines the variations cmd browser runs with .