| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import os | 5 import os |
| 6 import re | 6 import re |
| 7 import sys | 7 import sys |
| 8 | 8 |
| 9 | 9 |
| 10 def LoadSupport(input_api): | 10 def LoadSupport(input_api): |
| 11 if 'cloud_storage' not in globals(): | 11 if 'cloud_storage' not in globals(): |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 return input_api.AffectedFiles(file_filter=_IsNewJsonPageSet) | 128 return input_api.AffectedFiles(file_filter=_IsNewJsonPageSet) |
| 129 | 129 |
| 130 def CheckChangeOnUpload(input_api, output_api): | 130 def CheckChangeOnUpload(input_api, output_api): |
| 131 results = _SyncFilesToCloud(input_api, output_api) | 131 results = _SyncFilesToCloud(input_api, output_api) |
| 132 return results | 132 return results |
| 133 | 133 |
| 134 | 134 |
| 135 def CheckChangeOnCommit(input_api, output_api): | 135 def CheckChangeOnCommit(input_api, output_api): |
| 136 results = _VerifyFilesInCloud(input_api, output_api) | 136 results = _VerifyFilesInCloud(input_api, output_api) |
| 137 return results | 137 return results |
| OLD | NEW |