diff options
author | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-08 20:54:56 +0000 |
---|---|---|
committer | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-08 20:54:56 +0000 |
commit | f42c373552c34a69a0c2af0a0cb61e5ebd56df06 (patch) | |
tree | 64aa8fe9dfaecedbe66c5b41e64194866218ccaf /chrome/browser/chrome_browser_main.cc | |
parent | 59bddee9fafc0206dff66799a0aa503d83f37eff (diff) | |
download | chromium_src-f42c373552c34a69a0c2af0a0cb61e5ebd56df06.zip chromium_src-f42c373552c34a69a0c2af0a0cb61e5ebd56df06.tar.gz chromium_src-f42c373552c34a69a0c2af0a0cb61e5ebd56df06.tar.bz2 |
Change checkdeps.py to stop scanning after a certain number of non-include lines.
Previously it would always scan 150 lines, even if the file had more includes than that.
Also, break out of the loop once we reach the end of the file, rather than looping and testing the empty string until we hit the limit.
BUG=131315
TEST=In a file with lots of includes, introduce an illegal one at the end. Run checkdeps.
Review URL: https://chromiumcodereview.appspot.com/10537069
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141283 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chrome_browser_main.cc')
0 files changed, 0 insertions, 0 deletions