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

Unified Diff: PRESUBMIT.py

Issue 2642973006: Include AIDL files in the presubmit check for IPC security. (Closed)
Patch Set: Move `using` statements. Created 3 years, 11 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 | ash/public/interfaces/OWNERS » ('j') | 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 375351d54b04bf590be0fbebc08bfc159f73994e..686ae511773be4835973f9e2dac4ab7d9776bd2b 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -1455,13 +1455,19 @@ def _CheckIpcOwners(input_api, output_api):
Whether or not a file affects IPC is determined by a simple whitelist of
filename patterns."""
file_patterns = [
+ # Legacy IPC:
'*_messages.cc',
'*_messages*.h',
'*_param_traits*.*',
+ # Mojo IPC:
'*.mojom',
'*_struct_traits*.*',
'*_type_converter*.*',
- # Blink uses a different file naming convention
+ '*.typemap',
+ # Android native IPC:
+ '*.aidl',
+ # Blink uses a different file naming convention:
+ '*EnumTraits*.*',
'*StructTraits*.*',
'*TypeConverter*.*',
]
« no previous file with comments | « no previous file | ash/public/interfaces/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698