From 6ec7b8da05d21a3878bd21c691b41e675d74bb1c Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Mon, 17 Jul 2017 13:57:45 +0200 Subject: BASELINE: Update Chromium to 60.0.3112.70 Change-Id: I9911c2280a014d4632f254857876a395d4baed2d Reviewed-by: Alexandru Croitor --- chromium/content/browser/PRESUBMIT.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'chromium/content/browser/PRESUBMIT.py') 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") -- cgit v1.2.1