summaryrefslogtreecommitdiffstats
path: root/base/PRESUBMIT.py
diff options
context:
space:
mode:
authorrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-30 16:09:14 +0000
committerrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-30 16:09:14 +0000
commit43016609b3fe8630b53cd0ed6f331a239f9e5142 (patch)
tree7ffd8d4f9999fc95937baf8cd7e7a8b90da310b7 /base/PRESUBMIT.py
parente70af14f185e44efa93be6df2568fea3953417c0 (diff)
downloadchromium_src-43016609b3fe8630b53cd0ed6f331a239f9e5142.zip
chromium_src-43016609b3fe8630b53cd0ed6f331a239f9e5142.tar.gz
chromium_src-43016609b3fe8630b53cd0ed6f331a239f9e5142.tar.bz2
[Mac] Move the large block of NSEvent forward declarations to a shared header.
BUG=none R=mark@chromium.org Review URL: https://codereview.chromium.org/15979009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203155 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/PRESUBMIT.py')
-rw-r--r--base/PRESUBMIT.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/base/PRESUBMIT.py b/base/PRESUBMIT.py
index c84a992..7137c5a 100644
--- a/base/PRESUBMIT.py
+++ b/base/PRESUBMIT.py
@@ -15,7 +15,8 @@ def _CheckNoInterfacesInBase(input_api, output_api):
for f in input_api.AffectedSourceFiles(input_api.FilterSourceFile):
if (f.LocalPath().startswith('base/') and
not "/test/" in f.LocalPath() and
- not f.LocalPath().endswith('_unittest.mm')):
+ not f.LocalPath().endswith('_unittest.mm') and
+ not f.LocalPath().endswith('mac/sdk_forward_declarations.h')):
contents = input_api.ReadFile(f)
if pattern.search(contents):
files.append(f)