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.CheckLicense(
        input_api, output_api, _LicenseHeader(input_api)))
    return results
function_tokens: def _CommonChecks ( input_api , output_api ) : results = [ ] results . extend ( input_api . canned_checks . CheckLicense ( input_api , output_api , _LicenseHeader ( input_api ) ) ) return results