| OLD | NEW |
| 1 #!python | 1 #!python |
| 2 # Copyright 2012 Google Inc. All Rights Reserved. | 2 # Copyright 2017 The Chromium Authors. All Rights Reserved. |
| 3 # | 3 # |
| 4 # Licensed under the Apache License, Version 2.0 (the "License"); | 4 # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 # you may not use this file except in compliance with the License. | 5 # you may not use this file except in compliance with the License. |
| 6 # You may obtain a copy of the License at | 6 # You may obtain a copy of the License at |
| 7 # | 7 # |
| 8 # http://www.apache.org/licenses/LICENSE-2.0 | 8 # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 # | 9 # |
| 10 # Unless required by applicable law or agreed to in writing, software | 10 # Unless required by applicable law or agreed to in writing, software |
| 11 # distributed under the License is distributed on an "AS IS" BASIS, | 11 # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| (...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 | 261 |
| 262 return results | 262 return results |
| 263 | 263 |
| 264 | 264 |
| 265 def CheckChangeOnUpload(input_api, output_api): | 265 def CheckChangeOnUpload(input_api, output_api): |
| 266 return CheckChange(input_api, output_api, False) | 266 return CheckChange(input_api, output_api, False) |
| 267 | 267 |
| 268 | 268 |
| 269 def CheckChangeOnCommit(input_api, output_api): | 269 def CheckChangeOnCommit(input_api, output_api): |
| 270 return CheckChange(input_api, output_api, True) | 270 return CheckChange(input_api, output_api, True) |
| OLD | NEW |