Home | History | Annotate | Download | only in chromium_org

Lines Matching refs:output_api

250 def _CheckNoProductionCodeUsingTestOnlyFunctions(input_api, output_api):
291 return [output_api.PresubmitPromptOrNotify(_TEST_ONLY_WARNING, problems)]
296 def _CheckNoIOStreamInHeaders(input_api, output_api):
309 return [ output_api.PresubmitError(
317 def _CheckNoUNIT_TESTInSourceFiles(input_api, output_api):
330 return [output_api.PresubmitPromptWarning('UNIT_TEST is only for headers.\n' +
334 def _CheckNoNewWStrings(input_api, output_api):
354 return [output_api.PresubmitPromptWarning('New code should not use wstrings.'
360 def _CheckNoDEPSGIT(input_api, output_api):
364 return [output_api.PresubmitError(
373 def _CheckNoBannedFunctions(input_api, output_api):
419 result.append(output_api.PresubmitPromptWarning(
422 result.append(output_api.PresubmitError(
427 def _CheckNoPragmaOnce(input_api, output_api):
440 return [output_api.PresubmitError(
447 def _CheckNoTrinaryTrueFalse(input_api, output_api):
461 return [output_api.PresubmitPromptWarning(
466 def _CheckUnwantedDependencies(input_api, output_api):
507 results.append(output_api.PresubmitError(
511 results.append(output_api.PresubmitPromptOrNotify(
519 def _CheckFilePermissions(input_api, output_api):
530 results.append(output_api.PresubmitError('checkperms.py failed.',
535 def _CheckNoAuraWindowPropertyHInHeaders(input_api, output_api):
550 results.append(output_api.PresubmitError(
681 def _CheckIncludeOrder(input_api, output_api):
701 results.append(output_api.PresubmitPromptOrNotify(_INCLUDE_ORDER_WARNING,
715 def _CheckForVersionControlConflicts(input_api, output_api):
723 results.append(output_api.PresubmitError(
728 def _CheckHardcodedGoogleHostsInLowerLayers(input_api, output_api):
752 return [output_api.PresubmitPromptOrNotify(
761 def _CheckNoAbbreviationInPngFileName(input_api, output_api):
772 results.append(output_api.PresubmitError(
801 def _CheckAddedDepsHaveTargetApprovals(input_api, output_api):
823 return [output_api.PresubmitNotifyResult(
826 return [output_api.PresubmitError(
829 output = output_api.PresubmitError
831 output = output_api.PresubmitNotifyResult
863 def _CheckSpamLogging(input_api, output_api):
897 return [output_api.PresubmitError(
901 return [output_api.PresubmitError(
907 def _CheckForAnonymousVariables(input_api, output_api):
957 return [output_api.PresubmitError(
963 def _CheckCygwinShell(input_api, output_api):
975 return [output_api.PresubmitError(
981 def _CheckJavaStyle(input_api, output_api):
993 input_api, output_api, 'tools/android/checkstyle/chromium-style-5.0.xml')
996 def _CommonChecks(input_api, output_api):
1000 input_api, output_api, excluded_paths=_EXCLUDED_PATHS))
1001 results.extend(_CheckAuthorizedAuthor(input_api, output_api))
1003 _CheckNoProductionCodeUsingTestOnlyFunctions(input_api, output_api))
1004 results.extend(_CheckNoIOStreamInHeaders(input_api, output_api))
1005 results.extend(_CheckNoUNIT_TESTInSourceFiles(input_api, output_api))
1006 results.extend(_CheckNoNewWStrings(input_api, output_api))
1007 results.extend(_CheckNoDEPSGIT(input_api, output_api))
1008 results.extend(_CheckNoBannedFunctions(input_api, output_api))
1009 results.extend(_CheckNoPragmaOnce(input_api, output_api))
1010 results.extend(_CheckNoTrinaryTrueFalse(input_api, output_api))
1011 results.extend(_CheckUnwantedDependencies(input_api, output_api))
1012 results.extend(_CheckFilePermissions(input_api, output_api))
1013 results.extend(_CheckNoAuraWindowPropertyHInHeaders(input_api, output_api))
1014 results.extend(_CheckIncludeOrder(input_api, output_api))
1015 results.extend(_CheckForVersionControlConflicts(input_api, output_api))
1016 results.extend(_CheckPatchFiles(input_api, output_api))
1017 results.extend(_CheckHardcodedGoogleHostsInLowerLayers(input_api, output_api))
1018 results.extend(_CheckNoAbbreviationInPngFileName(input_api, output_api))
1019 results.extend(_CheckForInvalidOSMacros(input_api, output_api))
1020 results.extend(_CheckAddedDepsHaveTargetApprovals(input_api, output_api))
1024 output_api,
1026 results.extend(_CheckSpamLogging(input_api, output_api))
1027 results.extend(_CheckForAnonymousVariables(input_api, output_api))
1028 results.extend(_CheckCygwinShell(input_api, output_api))
1029 results.extend(_CheckJavaStyle(input_api, output_api))
1033 input_api, output_api,
1039 def _CheckSubversionConfig(input_api, output_api):
1048 return [output_api.PresubmitError('%APPDATA% is not configured.')]
1053 return [output_api.PresubmitError('$HOME is not configured.')]
1071 output_api.PresubmitNotifyResult(
1077 output_api.PresubmitNotifyResult(
1083 def _CheckAuthorizedAuthor(input_api, output_api):
1102 return [output_api.PresubmitPromptWarning(
1112 def _CheckPatchFiles(input_api, output_api):
1116 return [output_api.PresubmitError(
1157 def _CheckForInvalidOSMacros(input_api, output_api):
1167 return [output_api.PresubmitError(
1172 def CheckChangeOnUpload(input_api, output_api):
1174 results.extend(_CommonChecks(input_api, output_api))
1178 def CheckChangeOnCommit(input_api, output_api):
1180 results.extend(_CommonChecks(input_api, output_api))
1183 # input_api, output_api, sources))
1187 output_api,
1190 output_api, 'http://codereview.chromium.org',
1195 input_api, output_api))
1197 input_api, output_api))
1198 results.extend(_CheckSubversionConfig(input_api, output_api))