summaryrefslogtreecommitdiffstats
path: root/components/data_reduction_proxy
diff options
context:
space:
mode:
authorsclittle <sclittle@chromium.org>2015-04-10 14:15:33 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-10 21:16:03 +0000
commit38d0ed3d499fd0916e524b660134d8486d47ba77 (patch)
treed2cc2c98693b2e1c41bfd73445f7db94315085d4 /components/data_reduction_proxy
parentc862554bd846dac5c2dfc4d150b5647d7563b8d7 (diff)
downloadchromium_src-38d0ed3d499fd0916e524b660134d8486d47ba77.zip
chromium_src-38d0ed3d499fd0916e524b660134d8486d47ba77.tar.gz
chromium_src-38d0ed3d499fd0916e524b660134d8486d47ba77.tar.bz2
Force git cl format in the data_reduction_proxy component.
Added a presubmit script to enforce that all future changes in the data_reduction_proxy component are formatted with git cl format. BUG=476041 Review URL: https://codereview.chromium.org/1078033003 Cr-Commit-Position: refs/heads/master@{#324682}
Diffstat (limited to 'components/data_reduction_proxy')
-rw-r--r--components/data_reduction_proxy/PRESUBMIT.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/components/data_reduction_proxy/PRESUBMIT.py b/components/data_reduction_proxy/PRESUBMIT.py
new file mode 100644
index 0000000..b918678
--- /dev/null
+++ b/components/data_reduction_proxy/PRESUBMIT.py
@@ -0,0 +1,12 @@
+# Copyright 2015 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+"""Top-level presubmit script for the data_reduction_proxy component.
+
+See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
+for more details about the presubmit API built into depot_tools.
+"""
+
+def CheckChangeOnUpload(input_api, output_api):
+ return input_api.canned_checks.CheckPatchFormatted(input_api, output_api)