| 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 CANNED_CHANNELS = { | 7 CANNED_CHANNELS = { |
| 8 'trunk': 'trunk', | 8 'trunk': 'trunk', |
| 9 'dev': 28, | 9 'dev': 28, |
| 10 'beta': 27, | 10 'beta': 27, |
| (...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 402 'alarms': { | 402 'alarms': { |
| 403 'channel': 'beta' | 403 'channel': 'beta' |
| 404 }, | 404 }, |
| 405 'bookmarks': { | 405 'bookmarks': { |
| 406 'channel': 'stable' | 406 'channel': 'stable' |
| 407 }, | 407 }, |
| 408 'webRequest': { | 408 'webRequest': { |
| 409 'channel': 'stable' | 409 'channel': 'stable' |
| 410 } | 410 } |
| 411 }), | 411 }), |
| 412 'alarms.idl': 'alarms contents', |
| 412 'idle.json': 'idle contents', | 413 'idle.json': 'idle contents', |
| 413 'input_ime.json': 'input.ime contents', | 414 'input_ime.json': 'input.ime contents', |
| 414 'menus.json': 'menus contents', | 415 'menus.json': 'menus contents', |
| 415 'tabs.json': 'tabs contents', | 416 'tabs.json': 'tabs contents', |
| 416 'windows.json': 'windows contents' | 417 'windows.json': 'windows contents' |
| 417 } | 418 } |
| 418 }, | 419 }, |
| 419 '1229': { | 420 '1229': { |
| 420 'api': { | 421 'api': { |
| 421 '_manifest_features.json': json.dumps({ | 422 '_manifest_features.json': json.dumps({ |
| 422 'page_action': { | 423 'page_action': { |
| 423 'channel': 'stable' | 424 'channel': 'stable' |
| 424 }, | 425 }, |
| 425 'runtime': { | 426 'runtime': { |
| 426 'channel': 'stable' | 427 'channel': 'stable' |
| 427 }, | 428 }, |
| 428 'web_request': { | 429 'web_request': { |
| 429 'channel': 'stable' | 430 'channel': 'stable' |
| 430 } | 431 } |
| 431 }), | 432 }), |
| 432 '_permission_features.json': json.dumps({ | 433 '_permission_features.json': json.dumps({ |
| 433 'bookmarks': { | 434 'bookmarks': { |
| 434 'channel': 'stable' | 435 'channel': 'stable' |
| 435 }, | 436 }, |
| 436 'systemInfo.display': { | 437 'systemInfo.display': { |
| 437 'channel': 'beta' | 438 'channel': 'beta' |
| 438 } | 439 } |
| 439 }), | 440 }), |
| 441 'alarms.idl': 'alarms contents', |
| 440 'idle.json': 'idle contents', | 442 'idle.json': 'idle contents', |
| 441 'input_ime.json': 'input.ime contents', | 443 'input_ime.json': 'input.ime contents', |
| 442 'menus.json': 'menus contents', | 444 'menus.json': 'menus contents', |
| 445 'system_info_display.idl': 'systemInfo.display contents', |
| 443 'tabs.json': 'tabs contents' | 446 'tabs.json': 'tabs contents' |
| 444 } | 447 } |
| 445 }, | 448 }, |
| 446 '1180': { | 449 '1180': { |
| 447 'api': { | 450 'api': { |
| 448 '_manifest_features.json': json.dumps({ | 451 '_manifest_features.json': json.dumps({ |
| 449 'page_action': { | 452 'page_action': { |
| 450 'channel': 'stable' | 453 'channel': 'stable' |
| 451 }, | 454 }, |
| 452 'runtime': { | 455 'runtime': { |
| 453 'channel': 'stable' | 456 'channel': 'stable' |
| 454 } | 457 } |
| 455 }), | 458 }), |
| 456 '_permission_features.json': json.dumps({ | 459 '_permission_features.json': json.dumps({ |
| 457 'bookmarks': { | 460 'bookmarks': { |
| 458 'channel': 'stable' | 461 'channel': 'stable' |
| 459 }, | 462 }, |
| 460 'webRequest': { | 463 'webRequest': { |
| 461 'channel': 'stable' | 464 'channel': 'stable' |
| 462 } | 465 } |
| 463 }), | 466 }), |
| 467 'bookmarks.json': 'bookmarks contents', |
| 464 'idle.json': 'idle contents', | 468 'idle.json': 'idle contents', |
| 465 'input_ime.json': 'input.ime contents', | 469 'input_ime.json': 'input.ime contents', |
| 466 'menus.json': 'menus contents', | 470 'menus.json': 'menus contents', |
| 467 'tabs.json': 'tabs contents' | 471 'tabs.json': 'tabs contents' |
| 468 } | 472 } |
| 469 }, | 473 }, |
| 470 '1132': { | 474 '1132': { |
| 471 'api': { | 475 'api': { |
| 472 '_manifest_features.json': json.dumps({ | 476 '_manifest_features.json': json.dumps({ |
| 477 'bookmarks': { |
| 478 'channel': 'trunk' |
| 479 }, |
| 473 'page_action': { | 480 'page_action': { |
| 474 'channel': 'stable' | 481 'channel': 'stable' |
| 475 } | 482 } |
| 476 }), | 483 }), |
| 477 '_permission_features.json': json.dumps({ | 484 '_permission_features.json': json.dumps({ |
| 478 'webRequest': { | 485 'webRequest': { |
| 479 'channel': 'stable' | 486 'channel': 'stable' |
| 480 } | 487 } |
| 481 }), | 488 }), |
| 489 'bookmarks.json': 'bookmarks contents', |
| 482 'idle.json': 'idle contents', | 490 'idle.json': 'idle contents', |
| 483 'input.ime.json': 'input.ime contents', | 491 'input.ime.json': 'input.ime contents', |
| 484 'menus.json': 'menus contents', | 492 'menus.json': 'menus contents', |
| 485 'tabs.json': 'tabs contents' | 493 'tabs.json': 'tabs contents' |
| 486 } | 494 } |
| 487 }, | 495 }, |
| 488 '1084': { | 496 '1084': { |
| 489 'api': { | 497 'api': { |
| 490 '_manifest_features.json': json.dumps({ | 498 '_manifest_features.json': json.dumps({ |
| 491 'contents': 'nothing of interest here,really' | 499 'contents': 'nothing of interest here,really' |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 694 { | 702 { |
| 695 'namespace': 'idle' | 703 'namespace': 'idle' |
| 696 }, | 704 }, |
| 697 { | 705 { |
| 698 'namespace': 'experimental.menus' | 706 'namespace': 'experimental.menus' |
| 699 } | 707 } |
| 700 ]) | 708 ]) |
| 701 } | 709 } |
| 702 } | 710 } |
| 703 } | 711 } |
| OLD | NEW |