| OLD | NEW |
| 1 # Copyright 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 json | 5 import json |
| 6 | 6 |
| 7 from extensions_paths import EXTENSIONS |
| 8 from test_file_system import MoveAllTo |
| 7 | 9 |
| 8 TABS_SCHEMA_BRANCHES = { | 10 |
| 11 TABS_SCHEMA_BRANCHES = MoveAllTo(EXTENSIONS, { |
| 9 'trunk': { | 12 'trunk': { |
| 10 'api': { | 13 'api': { |
| 11 '_api_features.json': "{}", | 14 '_api_features.json': "{}", |
| 12 '_manifest_features.json': "{}", | 15 '_manifest_features.json': "{}", |
| 13 '_permission_features.json': "{}", | 16 '_permission_features.json': "{}", |
| 14 'tabs.json': json.dumps([{ | 17 'tabs.json': json.dumps([{ |
| 15 'namespace': 'tabs', | 18 'namespace': 'tabs', |
| 16 'types': [ | 19 'types': [ |
| 17 { | 20 { |
| 18 'id': 'Tab', | 21 'id': 'Tab', |
| (...skipping 1079 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1098 } | 1101 } |
| 1099 ] | 1102 ] |
| 1100 }]) | 1103 }]) |
| 1101 } | 1104 } |
| 1102 }, | 1105 }, |
| 1103 '782': { | 1106 '782': { |
| 1104 'api': { | 1107 'api': { |
| 1105 'extension_api.json': "{}" | 1108 'extension_api.json': "{}" |
| 1106 } | 1109 } |
| 1107 } | 1110 } |
| 1108 } | 1111 }) |
| OLD | NEW |