parameters: (input_api, output_api)
return_statement: return results
docstring: Checks common to both upload and commit.
docstring_summary: Checks common to both upload and commit.
docstring_tokens: Checks common to both upload and commit .
function: def _CommonChecks(input_api, output_api):
    """Checks common to both upload and commit."""
    results = []
    results.extend(input_api.canned_checks.CheckOwners(
        input_api, output_api, source_file_filter=None))
    results.extend(input_api.canned_checks.CheckPatchFormatted(
        input_api, output_api))
    results.extend(_V8PresubmitChecks(input_api, output_api))
    results.extend(_CheckUnwantedDependencies(input_api, output_api))
    results.extend(
        _CheckNoProductionCodeUsingTestOnlyFunctions(input_api, output_api))
    results.extend(
        _CheckNoInlineHeaderIncludesInNormalHeaders(input_api, output_api))
    return results
function_tokens: def _CommonChecks ( input_api , output_api ) : results = [ ] results . extend ( input_api . canned_checks . CheckOwners ( input_api , output_api , source_file_filter = None ) ) results . extend ( input_api . canned_checks . CheckPatchFormatted ( input_api , output_api ) ) results . extend ( _V8PresubmitChecks ( input_api , output_api ) ) results . extend ( _CheckUnwantedDependencies ( input_api , output_api ) ) results . extend ( _CheckNoProductionCodeUsingTestOnlyFunctions ( input_api , output_api ) ) results . extend ( _CheckNoInlineHeaderIncludesInNormalHeaders ( input_api , output_api ) ) return results