Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Side by Side Diff: chrome/common/extensions/api/_api_features.json

Issue 508263003: Add getSelf method to management API to use without the "management" permission. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 extensions/common/features/* to understand this file, in particular 6 // See extensions/common/features/* to understand this file, in particular
7 // feature.h, simple_feature.h, and base_feature_provider.h. 7 // 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 526 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 }, 537 },
538 "management": { 538 "management": {
539 "dependencies": ["permission:management"], 539 "dependencies": ["permission:management"],
540 "contexts": ["blessed_extension"] 540 "contexts": ["blessed_extension"]
541 }, 541 },
542 "management.getPermissionWarningsByManifest": { 542 "management.getPermissionWarningsByManifest": {
543 "dependencies": [], 543 "dependencies": [],
544 "channel": "stable", 544 "channel": "stable",
545 "extension_types": ["extension", "legacy_packaged_app", "platform_app"] 545 "extension_types": ["extension", "legacy_packaged_app", "platform_app"]
546 }, 546 },
547 "management.getSelf": {
548 "dependencies": [],
549 "channel": "stable",
550 "extension_types": ["extension", "legacy_packaged_app", "platform_app"]
551 },
547 "management.uninstallSelf": { 552 "management.uninstallSelf": {
548 "dependencies": [], 553 "dependencies": [],
549 "channel": "stable", 554 "channel": "stable",
550 "extension_types": ["extension", "legacy_packaged_app", "platform_app"] 555 "extension_types": ["extension", "legacy_packaged_app", "platform_app"]
551 }, 556 },
552 // This is not a real API, only here for documentation purposes. 557 // This is not a real API, only here for documentation purposes.
553 // See http://crbug.com/275944 for background. 558 // See http://crbug.com/275944 for background.
554 "manifestTypes": { 559 "manifestTypes": {
555 "internal": true, 560 "internal": true,
556 "channel": "stable", 561 "channel": "stable",
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
842 "internal": true, 847 "internal": true,
843 "channel": "stable", 848 "channel": "stable",
844 "dependencies": ["permission:webview"], 849 "dependencies": ["permission:webview"],
845 "contexts": ["blessed_extension"] 850 "contexts": ["blessed_extension"]
846 }, 851 },
847 "windows": { 852 "windows": {
848 "dependencies": ["api:tabs"], 853 "dependencies": ["api:tabs"],
849 "contexts": ["blessed_extension"] 854 "contexts": ["blessed_extension"]
850 } 855 }
851 } 856 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/management/management_api_browsertest.cc ('k') | chrome/common/extensions/api/management.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698