summaryrefslogtreecommitdiffstats
path: root/extensions/shell/common
diff options
context:
space:
mode:
authortreib <treib@chromium.org>2015-08-03 03:25:55 -0700
committerCommit bot <commit-bot@chromium.org>2015-08-03 10:26:37 +0000
commit1ea5d9d1c5b6315aef00b025d13619885e44d987 (patch)
treeed01d3b995b9b600ffa901e46df37900e7f1553d /extensions/shell/common
parent3a40d3544c79535fc550ea18eeec19b68c06f035 (diff)
downloadchromium_src-1ea5d9d1c5b6315aef00b025d13619885e44d987.zip
chromium_src-1ea5d9d1c5b6315aef00b025d13619885e44d987.tar.gz
chromium_src-1ea5d9d1c5b6315aef00b025d13619885e44d987.tar.bz2
Extensions: Remove the old permission message interface
Remove all the *Legacy* methods, the old coalescing/suppression rules, and the code/field trial to switch between old and new system. [This is part 1 of operation "remove the old permission message system".] BUG=398257 Review URL: https://codereview.chromium.org/1179713006 Cr-Commit-Position: refs/heads/master@{#341503}
Diffstat (limited to 'extensions/shell/common')
-rw-r--r--extensions/shell/common/shell_extensions_client.cc18
1 files changed, 0 insertions, 18 deletions
diff --git a/extensions/shell/common/shell_extensions_client.cc b/extensions/shell/common/shell_extensions_client.cc
index faf0027..5c8c998 100644
--- a/extensions/shell/common/shell_extensions_client.cc
+++ b/extensions/shell/common/shell_extensions_client.cc
@@ -42,29 +42,11 @@ class ShellPermissionMessageProvider : public PermissionMessageProvider {
~ShellPermissionMessageProvider() override {}
// PermissionMessageProvider implementation.
- PermissionMessageIDs GetLegacyPermissionMessageIDs(
- const PermissionSet* permissions,
- Manifest::Type extension_type) const override {
- return PermissionMessageIDs();
- }
-
CoalescedPermissionMessages GetCoalescedPermissionMessages(
const PermissionIDSet& permissions) const override {
return CoalescedPermissionMessages();
}
- std::vector<base::string16> GetLegacyWarningMessages(
- const PermissionSet* permissions,
- Manifest::Type extension_type) const override {
- return std::vector<base::string16>();
- }
-
- std::vector<base::string16> GetLegacyWarningMessagesDetails(
- const PermissionSet* permissions,
- Manifest::Type extension_type) const override {
- return std::vector<base::string16>();
- }
-
bool IsPrivilegeIncrease(const PermissionSet* old_permissions,
const PermissionSet* new_permissions,
Manifest::Type extension_type) const override {