diff options
author | rdevlin.cronin <rdevlin.cronin@chromium.org> | 2015-09-30 13:19:33 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-09-30 20:20:45 +0000 |
commit | d630c304b8d53e1e068d5ef094f14b70507f4844 (patch) | |
tree | e0eb6e1a3cd07b51caedb2f2f014af5bff91c0d2 /extensions/shell/common | |
parent | 3f38c02b4c4f4d10b7350bf492a05c9215b8b656 (diff) | |
download | chromium_src-d630c304b8d53e1e068d5ef094f14b70507f4844.zip chromium_src-d630c304b8d53e1e068d5ef094f14b70507f4844.tar.gz chromium_src-d630c304b8d53e1e068d5ef094f14b70507f4844.tar.bz2 |
[Extensions] Make const PermissionSet* const PermissionSet& where possible
Replace a bunch of pointers with const&.
TBR=pkotwicz@chromium.org (themes)
TBR=atwilson@chromium.org (background)
TBR=rogerta@chromium.org (ui/sync)
BUG=455414
Review URL: https://codereview.chromium.org/1365443003
Cr-Commit-Position: refs/heads/master@{#351631}
Diffstat (limited to 'extensions/shell/common')
-rw-r--r-- | extensions/shell/common/shell_extensions_client.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/shell/common/shell_extensions_client.cc b/extensions/shell/common/shell_extensions_client.cc index cd0b9fa..4a37b09 100644 --- a/extensions/shell/common/shell_extensions_client.cc +++ b/extensions/shell/common/shell_extensions_client.cc @@ -47,8 +47,8 @@ class ShellPermissionMessageProvider : public PermissionMessageProvider { return PermissionMessages(); } - bool IsPrivilegeIncrease(const PermissionSet* old_permissions, - const PermissionSet* new_permissions, + bool IsPrivilegeIncrease(const PermissionSet& old_permissions, + const PermissionSet& new_permissions, Manifest::Type extension_type) const override { // Ensure we implement this before shipping. CHECK(false); @@ -56,7 +56,7 @@ class ShellPermissionMessageProvider : public PermissionMessageProvider { } PermissionIDSet GetAllPermissionIDs( - const PermissionSet* permissions, + const PermissionSet& permissions, Manifest::Type extension_type) const override { return PermissionIDSet(); } |