| OLD | NEW |
| (Empty) |
| 1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 """Notify people of GRD changes.""" | |
| 6 | |
| 7 GRD_FILE_ENDING = 'resources.grd' | |
| 8 | |
| 9 def CheckChangeOnCommit(input_api, output_api): | |
| 10 results = [] | |
| 11 for f in input_api.AffectedFiles(): | |
| 12 if f.LocalPath().endswith(GRD_FILE_ENDING): | |
| 13 results = [ output_api.PresubmitPromptWarning('Your CL includes a GRD ' | |
| 14 'change. Please notify the sheriff BEFORE landing.\nSee this page ' | |
| 15 'for more information:\n ' | |
| 16 'http://dev.chromium.org/developers/tree-sheriffs/sheriff-details-' | |
| 17 'chromium') ] | |
| 18 break | |
| 19 return results | |
| OLD | NEW |