chrome/android/java/src/PRESUBMIT.py
def _CommonChecks(input_api, output_api):
  """Checks common to both upload and commit."""
  result = []
  result.extend(_CheckNotificationConstructors(input_api, output_api))
  result.extend(_CheckAlertDialogBuilder(input_api, output_api))
  result.extend(_CheckCompatibleAlertDialogBuilder(input_api, output_api))
  result.extend(_CheckSplitCompatUtilsIdentifierName(input_api, output_api))
  # Add more checks here
  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(_CheckNotificationConstructors(input_api, output_api))
  result.extend(_CheckAlertDialogBuilder(input_api, output_api))
  result.extend(_CheckCompatibleAlertDialogBuilder(input_api, output_api))
  result.extend(_CheckSplitCompatUtilsIdentifierName(input_api, output_api))
  return result
def _CommonChecks ( input_api , output_api ) : result = [ ] result . extend ( _CheckNotificationConstructors ( input_api , output_api ) ) result . extend ( _CheckAlertDialogBuilder ( input_api , output_api ) ) result . extend ( _CheckCompatibleAlertDialogBuilder ( input_api , output_api ) ) result . extend ( _CheckSplitCompatUtilsIdentifierName ( 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.""" # Add more checks here
input_api
output_api