Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(111)

Unified Diff: PRESUBMIT.py

Issue 2135103002: Make the IPC OWNERS check a warning until landing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@413020_ssl_valid
Patch Set: Make the IPC OWNERS check a warning until landing Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: PRESUBMIT.py
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index 0ab53291096d1c6b3f7fc2f594acf275609bef96..d60a19cccd0d687f102d1be589593b36cae4421e 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -1485,7 +1485,11 @@ def _CheckIpcOwners(input_api, output_api):
results = []
if errors:
- results.append(output_api.PresubmitError(
+ if input_api.is_committing:
+ output = output_api.PresubmitError
+ else:
+ output = output_api.PresubmitPromptWarning
+ results.append(output(
'Found changes to IPC files without a security OWNER!',
long_text='\n\n'.join(errors)))
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698