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 | 7 |
8 TABS_SCHEMA_BRANCHES = { | 8 TABS_SCHEMA_BRANCHES = { |
9 'trunk': { | 9 'trunk': { |
10 'api': { | 10 'api': { |
11 '_api_features.json': json.dumps({}), | 11 '_api_features.json': "{}", |
12 '_manifest_features.json': json.dumps({}), | 12 '_manifest_features.json': "{}", |
13 '_permission_features.json': json.dumps({}), | 13 '_permission_features.json': "{}", |
14 'tabs.json': json.dumps([{ | 14 'tabs.json': json.dumps([{ |
15 'namespace': 'tabs', | 15 'namespace': 'tabs', |
16 'types': [ | 16 'types': [ |
17 { | 17 { |
18 'id': 'Tab', | 18 'id': 'Tab', |
19 'properties': { | 19 'properties': { |
20 'url': {}, | 20 'url': {}, |
21 'index': {}, | 21 'index': {}, |
22 'selected': {}, | 22 'selected': {}, |
23 'id': {}, | 23 'id': {}, |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 } | 99 } |
100 } | 100 } |
101 ] | 101 ] |
102 } | 102 } |
103 ] | 103 ] |
104 }]) | 104 }]) |
105 } | 105 } |
106 }, | 106 }, |
107 '1500': { | 107 '1500': { |
108 'api': { | 108 'api': { |
109 '_api_features.json': json.dumps({}), | 109 '_api_features.json': "{}", |
110 '_manifest_features.json': json.dumps({}), | 110 '_manifest_features.json': "{}", |
111 '_permission_features.json': json.dumps({}), | 111 '_permission_features.json': "{}", |
112 'tabs.json': json.dumps([{ | 112 'tabs.json': json.dumps([{ |
113 'namespace': 'tabs', | 113 'namespace': 'tabs', |
114 'types': [ | 114 'types': [ |
115 { | 115 { |
116 'id': 'Tab', | 116 'id': 'Tab', |
117 'properties': { | 117 'properties': { |
118 'url': {}, | 118 'url': {}, |
119 'index': {}, | 119 'index': {}, |
120 'selected': {}, | 120 'selected': {}, |
121 'id': {}, | 121 'id': {}, |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 } | 196 } |
197 } | 197 } |
198 ] | 198 ] |
199 } | 199 } |
200 ] | 200 ] |
201 }]) | 201 }]) |
202 } | 202 } |
203 }, | 203 }, |
204 '1453': { | 204 '1453': { |
205 'api': { | 205 'api': { |
206 '_api_features.json': json.dumps({}), | 206 '_api_features.json': "{}", |
207 '_manifest_features.json': json.dumps({}), | 207 '_manifest_features.json': "{}", |
208 '_permission_features.json': json.dumps({}), | 208 '_permission_features.json': "{}", |
209 'tabs.json': json.dumps([{ | 209 'tabs.json': json.dumps([{ |
210 'namespace': 'tabs', | 210 'namespace': 'tabs', |
211 'types': [ | 211 'types': [ |
212 { | 212 { |
213 'id': 'Tab', | 213 'id': 'Tab', |
214 'properties': { | 214 'properties': { |
215 'url': {}, | 215 'url': {}, |
216 'index': {}, | 216 'index': {}, |
217 'selected': {}, | 217 'selected': {}, |
218 'id': {}, | 218 'id': {}, |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 } | 289 } |
290 } | 290 } |
291 ] | 291 ] |
292 } | 292 } |
293 ] | 293 ] |
294 }]) | 294 }]) |
295 } | 295 } |
296 }, | 296 }, |
297 '1410': { | 297 '1410': { |
298 'api': { | 298 'api': { |
299 '_manifest_features.json': json.dumps({}), | 299 '_manifest_features.json': "{}", |
300 '_permission_features.json': json.dumps({}), | 300 '_permission_features.json': "{}", |
301 'tabs.json': json.dumps([{ | 301 'tabs.json': json.dumps([{ |
302 'namespace': 'tabs', | 302 'namespace': 'tabs', |
303 'types': [ | 303 'types': [ |
304 { | 304 { |
305 'id': 'Tab', | 305 'id': 'Tab', |
306 'properties': { | 306 'properties': { |
307 'url': {}, | 307 'url': {}, |
308 'index': {}, | 308 'index': {}, |
309 'selected': {}, | 309 'selected': {}, |
310 'id': {}, | 310 'id': {}, |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
367 } | 367 } |
368 } | 368 } |
369 ] | 369 ] |
370 } | 370 } |
371 ] | 371 ] |
372 }]) | 372 }]) |
373 } | 373 } |
374 }, | 374 }, |
375 '1364': { | 375 '1364': { |
376 'api': { | 376 'api': { |
377 '_manifest_features.json': json.dumps({}), | 377 '_manifest_features.json': "{}", |
378 '_permission_features.json': json.dumps({}), | 378 '_permission_features.json': "{}", |
379 'tabs.json': json.dumps([{ | 379 'tabs.json': json.dumps([{ |
380 'namespace': 'tabs', | 380 'namespace': 'tabs', |
381 'types': [ | 381 'types': [ |
382 { | 382 { |
383 'id': 'Tab', | 383 'id': 'Tab', |
384 'properties': { | 384 'properties': { |
385 'url': {}, | 385 'url': {}, |
386 'index': {}, | 386 'index': {}, |
387 'selected': {}, | 387 'selected': {}, |
388 'id': {}, | 388 'id': {}, |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
443 } | 443 } |
444 } | 444 } |
445 ] | 445 ] |
446 } | 446 } |
447 ] | 447 ] |
448 }]) | 448 }]) |
449 } | 449 } |
450 }, | 450 }, |
451 '1312': { | 451 '1312': { |
452 'api': { | 452 'api': { |
453 '_manifest_features.json': json.dumps({}), | 453 '_manifest_features.json': "{}", |
454 '_permission_features.json': json.dumps({}), | 454 '_permission_features.json': "{}", |
455 'tabs.json': json.dumps([{ | 455 'tabs.json': json.dumps([{ |
456 'namespace': 'tabs', | 456 'namespace': 'tabs', |
457 'types': [ | 457 'types': [ |
458 { | 458 { |
459 'id': 'Tab', | 459 'id': 'Tab', |
460 'properties': { | 460 'properties': { |
461 'url': {}, | 461 'url': {}, |
462 'index': {}, | 462 'index': {}, |
463 'selected': {}, | 463 'selected': {}, |
464 'id': {}, | 464 'id': {}, |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
513 } | 513 } |
514 } | 514 } |
515 ] | 515 ] |
516 } | 516 } |
517 ] | 517 ] |
518 }]) | 518 }]) |
519 } | 519 } |
520 }, | 520 }, |
521 '1271': { | 521 '1271': { |
522 'api': { | 522 'api': { |
523 '_manifest_features.json': json.dumps({}), | 523 '_manifest_features.json': "{}", |
524 '_permission_features.json': json.dumps({}), | 524 '_permission_features.json': "{}", |
525 'tabs.json': json.dumps([{ | 525 'tabs.json': json.dumps([{ |
526 'namespace': 'tabs', | 526 'namespace': 'tabs', |
527 'types': [ | 527 'types': [ |
528 { | 528 { |
529 'id': 'Tab', | 529 'id': 'Tab', |
530 'properties': { | 530 'properties': { |
531 'url': {}, | 531 'url': {}, |
532 'index': {}, | 532 'index': {}, |
533 'selected': {}, | 533 'selected': {}, |
534 'id': {}, | 534 'id': {}, |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
583 } | 583 } |
584 } | 584 } |
585 ] | 585 ] |
586 } | 586 } |
587 ] | 587 ] |
588 }]) | 588 }]) |
589 } | 589 } |
590 }, | 590 }, |
591 '1229': { | 591 '1229': { |
592 'api': { | 592 'api': { |
593 '_manifest_features.json': json.dumps({}), | 593 '_manifest_features.json': "{}", |
594 '_permission_features.json': json.dumps({}), | 594 '_permission_features.json': "{}", |
595 'tabs.json': json.dumps([{ | 595 'tabs.json': json.dumps([{ |
596 'namespace': 'tabs', | 596 'namespace': 'tabs', |
597 'types': [ | 597 'types': [ |
598 { | 598 { |
599 'id': 'Tab', | 599 'id': 'Tab', |
600 'properties': { | 600 'properties': { |
601 'url': {}, | 601 'url': {}, |
602 'index': {}, | 602 'index': {}, |
603 'selected': {}, | 603 'selected': {}, |
604 'id': {}, | 604 'id': {}, |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
653 } | 653 } |
654 } | 654 } |
655 ] | 655 ] |
656 } | 656 } |
657 ] | 657 ] |
658 }]) | 658 }]) |
659 } | 659 } |
660 }, | 660 }, |
661 '1180': { | 661 '1180': { |
662 'api': { | 662 'api': { |
663 '_manifest_features.json': json.dumps({}), | 663 '_manifest_features.json': "{}", |
664 '_permission_features.json': json.dumps({}), | 664 '_permission_features.json': "{}", |
665 'tabs.json': json.dumps([{ | 665 'tabs.json': json.dumps([{ |
666 'namespace': 'tabs', | 666 'namespace': 'tabs', |
667 'types': [ | 667 'types': [ |
668 { | 668 { |
669 'id': 'Tab', | 669 'id': 'Tab', |
670 'properties': { | 670 'properties': { |
671 'url': {}, | 671 'url': {}, |
672 'index': {}, | 672 'index': {}, |
673 'selected': {}, | 673 'selected': {}, |
674 'id': {} | 674 'id': {} |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
722 } | 722 } |
723 } | 723 } |
724 ] | 724 ] |
725 } | 725 } |
726 ] | 726 ] |
727 }]) | 727 }]) |
728 } | 728 } |
729 }, | 729 }, |
730 '1132': { | 730 '1132': { |
731 'api': { | 731 'api': { |
732 '_manifest_features.json': json.dumps({}), | 732 '_manifest_features.json': "{}", |
733 '_permission_features.json': json.dumps({}), | 733 '_permission_features.json': "{}", |
734 'tabs.json': json.dumps([{ | 734 'tabs.json': json.dumps([{ |
735 'namespace': 'tabs', | 735 'namespace': 'tabs', |
736 'types': [ | 736 'types': [ |
737 { | 737 { |
738 'id': 'Tab', | 738 'id': 'Tab', |
739 'properties': { | 739 'properties': { |
740 'url': {}, | 740 'url': {}, |
741 'index': {}, | 741 'index': {}, |
742 'id': {} | 742 'id': {} |
743 } | 743 } |
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1095 'name': 'tabId' | 1095 'name': 'tabId' |
1096 } | 1096 } |
1097 ] | 1097 ] |
1098 } | 1098 } |
1099 ] | 1099 ] |
1100 }]) | 1100 }]) |
1101 } | 1101 } |
1102 }, | 1102 }, |
1103 '782': { | 1103 '782': { |
1104 'api': { | 1104 'api': { |
1105 'extension_api.json': json.dumps({}) | 1105 'extension_api.json': "{}" |
1106 } | 1106 } |
1107 } | 1107 } |
1108 } | 1108 } |
OLD | NEW |