Skip to content

Commit

Permalink
bluetooth: Add 'git cl format' presubmit check to content/*/bluetooth.
Browse files Browse the repository at this point in the history
Review URL: https://codereview.chromium.org/1055883003

Cr-Commit-Position: refs/heads/master@{#325941}
  • Loading branch information
scheib authored and Commit bot committed Apr 20, 2015
1 parent aa5c4fd commit 638ab71
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
14 changes: 14 additions & 0 deletions content/browser/bluetooth/PRESUBMIT.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# 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.

"""Presubmit script.
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):
results = []
results += input_api.canned_checks.CheckPatchFormatted(input_api, output_api)
return results
14 changes: 14 additions & 0 deletions content/child/bluetooth/PRESUBMIT.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# 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.

"""Presubmit script.
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):
results = []
results += input_api.canned_checks.CheckPatchFormatted(input_api, output_api)
return results
14 changes: 14 additions & 0 deletions content/common/bluetooth/PRESUBMIT.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# 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.

"""Presubmit script.
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):
results = []
results += input_api.canned_checks.CheckPatchFormatted(input_api, output_api)
return results

0 comments on commit 638ab71

Please sign in to comment.