chrome/android/webapk/PRESUBMIT.py
def _CommonChecks(input_api, output_api):
  """Checks common to both upload and commit."""
  result = []
  result.extend(_CheckChromeUpdateTriggerRule(input_api, output_api))
  result.extend(_CheckCurrentVersionIncreaseRule(input_api, output_api))
  result.extend(_CheckNoOverlappingFileNamesInResourceDirsRule(input_api,
                                                               output_api))

  return result
Checks common to both upload and commit.
Checks common to both upload and commit.
Checks common to both upload and commit .
def _CommonChecks(input_api, output_api):
  result = []
  result.extend(_CheckChromeUpdateTriggerRule(input_api, output_api))
  result.extend(_CheckCurrentVersionIncreaseRule(input_api, output_api))
  result.extend(_CheckNoOverlappingFileNamesInResourceDirsRule(input_api,
                                                               output_api))
  return result
def _CommonChecks ( input_api , output_api ) : result = [ ] result . extend ( _CheckChromeUpdateTriggerRule ( input_api , output_api ) ) result . extend ( _CheckCurrentVersionIncreaseRule ( input_api , output_api ) ) result . extend ( _CheckNoOverlappingFileNamesInResourceDirsRule ( input_api , output_api ) ) return result
Checks common to both upload and commit.
Checks common to both upload and commit .
"""Checks common to both upload and commit."""
input_api
output_api