| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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 // This features file defines extension APIs implemented under src/chrome. | 5 // This features file defines extension APIs implemented under src/chrome. |
| 6 // See chrome/common/extensions/api/_features.md to understand this file, as | 6 // See chrome/common/extensions/api/_features.md to understand this file, as |
| 7 // well as feature.h, simple_feature.h, and base_feature_provider.h. | 7 // well as feature.h, simple_feature.h, and base_feature_provider.h. |
| 8 // | 8 // |
| 9 // Note that specifying "web_page", "blessed_web_page", or "all" as a context | 9 // Note that specifying "web_page", "blessed_web_page", or "all" as a context |
| 10 // type will require manually updating chrome/renderer/resources/dispatcher.cc. | 10 // type will require manually updating chrome/renderer/resources/dispatcher.cc. |
| (...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 577 "mediaGalleries": { | 577 "mediaGalleries": { |
| 578 "dependencies": ["permission:mediaGalleries"], | 578 "dependencies": ["permission:mediaGalleries"], |
| 579 "contexts": ["blessed_extension"] | 579 "contexts": ["blessed_extension"] |
| 580 }, | 580 }, |
| 581 "mediaPlayerPrivate": { | 581 "mediaPlayerPrivate": { |
| 582 "dependencies": ["permission:mediaPlayerPrivate"], | 582 "dependencies": ["permission:mediaPlayerPrivate"], |
| 583 "contexts": ["blessed_extension"] | 583 "contexts": ["blessed_extension"] |
| 584 }, | 584 }, |
| 585 "metricsPrivate": [{ | 585 "metricsPrivate": [{ |
| 586 "dependencies": ["permission:metricsPrivate"], | 586 "dependencies": ["permission:metricsPrivate"], |
| 587 "contexts": ["blessed_extension"] | 587 "contexts": ["blessed_extension"], |
| 588 "default_parent": true |
| 588 }, { | 589 }, { |
| 589 "channel": "trunk", | 590 "channel": "trunk", |
| 590 "contexts": ["webui"], | 591 "contexts": ["webui"], |
| 591 "matches": [ | 592 "matches": [ |
| 592 "chrome://md-settings/*", | 593 "chrome://md-settings/*", |
| 593 "chrome://settings/*", | 594 "chrome://settings/*", |
| 594 "chrome://settings-frame/*" | 595 "chrome://settings-frame/*" |
| 595 ] | 596 ] |
| 596 }], | 597 }], |
| 598 "metricsPrivate.getIsCrashReportingEnabled": { |
| 599 "whitelist": [ |
| 600 // This function inherits the extension restrictions of metricsPrivate, |
| 601 // but also requires whitelisting. New uses of this function should get |
| 602 // /tools/metrics/OWNERS approval of the usage before adding entries |
| 603 // below. See crbug.com/374199. |
| 604 "2FC374607C2DF285634B67C64A2E356C607091C3", // Quickoffice |
| 605 "3727DD3E564B6055387425027AD74C58784ACC15", // Quickoffice internal |
| 606 "12E618C3C6E97495AAECF2AC12DEB082353241C6", // QO component extension |
| 607 "3727DD3E564B6055387425027AD74C58784ACC15", // Editor |
| 608 "C41AD9DCD670210295614257EF8C9945AD68D86E", // Google Now |
| 609 // TODO(michaelpg): Determine whether these three extensions (D5736E4, |
| 610 // D57DE39, 3F65507) require this feature: crbug.com/652433. |
| 611 "D5736E4B5CF695CB93A2FB57E4FDC6E5AFAB6FE2", // http://crbug.com/312900. |
| 612 "D57DE394F36DC1C3220E7604C575D29C51A6C495", // http://crbug.com/319444. |
| 613 "3F65507A3B39259B38C8173C6FFA3D12DF64CCE9", // http://crbug.com/371562. |
| 614 "D7986543275120831B39EF28D1327552FC343960", // http://crbug.com/378067 |
| 615 "A291B26E088FA6BA53FFD72F0916F06EBA7C585A", // http://crbug.com/378067 |
| 616 "62CCAAD339E6451BBF97C4BBDF758E934A05AD0B", // Hotword triggering |
| 617 "07BD6A765FFC289FF755D7CAB2893A40EC337FEC", // http://crbug.com/456214 |
| 618 "896B85CC7E913E11C34892C1425A093C0701D386", // http://crbug.com/456214 |
| 619 "11A01C82EF355E674E4F9728A801F5C3CB40D83F", // http://crbug.com/456214 |
| 620 "F410C88469990EE7947450311D24B8AF2ADB2595", // http://crbug.com/456214 |
| 621 "226CF815E39A363090A1E547D53063472B8279FA", // http://crbug.com/574889 |
| 622 "C17CD9E6868D7B9C67926E0EC612EA25C768418F", // http://crbug.com/504940 |
| 623 "A45DABDB47A31CC812E5490AB748C7D05E2D32E9", // http://crbug.com/504940 |
| 624 "BFEE2E3B80BE21A645E63E9346DFC383E7CB3BDA", // http://crbug.com/504940 |
| 625 "63ED55E43214C211F82122ED56407FF1A807F2A3", // http://crbug.com/504940 |
| 626 // TODO (ntang) Remove the following 2 hashes by 12/31/2017. |
| 627 "B620CF4203315F9F2E046EDED22C7571A935958D", // http://crbug.com/510270 |
| 628 "B206D8716769728278D2D300349C6CB7D7DE2EF9", // http://crbug.com/510270 |
| 629 "2B6C6A4A5940017146F3E58B7F90116206E84685", // http://crbug.com/642141 |
| 630 "B6C2EFAB3EC3BF6EF03701408B6B09A67B2D0069", // http://crbug.com/642141 |
| 631 "96FF2FFA5C9173C76D47184B3E86D267B37781DE", // http://crbug.com/642141 |
| 632 "0136FCB13DB29FD5CD442F56E59E53B61F1DF96F" // http://crbug.com/642141 |
| 633 ] |
| 634 }, |
| 597 "mdns": { | 635 "mdns": { |
| 598 "dependencies": ["permission:mdns"], | 636 "dependencies": ["permission:mdns"], |
| 599 "contexts": ["blessed_extension"] | 637 "contexts": ["blessed_extension"] |
| 600 }, | 638 }, |
| 601 "mimeHandlerViewGuestInternal": { | 639 "mimeHandlerViewGuestInternal": { |
| 602 "internal": true, | 640 "internal": true, |
| 603 "contexts": "all", | 641 "contexts": "all", |
| 604 "channel": "stable", | 642 "channel": "stable", |
| 605 "matches": ["<all_urls>"] | 643 "matches": ["<all_urls>"] |
| 606 }, | 644 }, |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 830 "internal": true, | 868 "internal": true, |
| 831 "channel": "stable", | 869 "channel": "stable", |
| 832 "dependencies": ["permission:webview"], | 870 "dependencies": ["permission:webview"], |
| 833 "contexts": ["blessed_extension"] | 871 "contexts": ["blessed_extension"] |
| 834 }, | 872 }, |
| 835 "windows": { | 873 "windows": { |
| 836 "dependencies": ["api:tabs"], | 874 "dependencies": ["api:tabs"], |
| 837 "contexts": ["blessed_extension"] | 875 "contexts": ["blessed_extension"] |
| 838 } | 876 } |
| 839 } | 877 } |
| OLD | NEW |