diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-07-17 13:57:45 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-07-19 13:44:40 +0000 |
commit | 6ec7b8da05d21a3878bd21c691b41e675d74bb1c (patch) | |
tree | b87f250bc19413750b9bb9cdbf2da20ef5014820 /chromium/content/browser/PRESUBMIT.py | |
parent | ec02ee4181c49b61fce1c8fb99292dbb8139cc90 (diff) | |
download | qtwebengine-chromium-6ec7b8da05d21a3878bd21c691b41e675d74bb1c.tar.gz |
BASELINE: Update Chromium to 60.0.3112.70
Change-Id: I9911c2280a014d4632f254857876a395d4baed2d
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'chromium/content/browser/PRESUBMIT.py')
-rw-r--r-- | chromium/content/browser/PRESUBMIT.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/chromium/content/browser/PRESUBMIT.py b/chromium/content/browser/PRESUBMIT.py index 67e1c2a7c0f..192cc15b36c 100644 --- a/chromium/content/browser/PRESUBMIT.py +++ b/chromium/content/browser/PRESUBMIT.py @@ -6,9 +6,15 @@ match the corresponding bad_message.h file. """ +def CheckChangeOnCommit(input_api, output_api): + return _CommonChecks(input_api, output_api) + +def CheckChangeOnUpload(input_api, output_api): + return _CommonChecks(input_api, output_api) + def _RunHistogramChecks(input_api, output_api, histogram_name): try: - # Setup sys.path so that we can call histrogram code + # Setup sys.path so that we can call histograms code. import sys original_sys_path = sys.path sys.path = sys.path + [input_api.os_path.join( @@ -24,5 +30,5 @@ def _RunHistogramChecks(input_api, output_api, histogram_name): finally: sys.path = original_sys_path -def CheckChangeOnUpload(input_api, output_api): +def _CommonChecks(input_api, output_api): return _RunHistogramChecks(input_api, output_api, "BadMessageReasonContent") |