Commit f73ee342 authored by Jordan Oroshiba's avatar Jordan Oroshiba Committed by Commit Bot

Remove unused function

Bug: 1130668
Change-Id: Ia7fd692e01fdf1f59d75248ef980a5d64ef1f8d7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2441135
Auto-Submit: Jordan Oroshiba <oroshiba@google.com>
Reviewed-by: default avatarChristian Dullweber <dullweber@chromium.org>
Commit-Queue: Christian Dullweber <dullweber@chromium.org>
Cr-Commit-Position: refs/heads/master@{#812739}
parent d2c8d8c4
...@@ -286,25 +286,6 @@ public class SiteSettingsCategory { ...@@ -286,25 +286,6 @@ public class SiteSettingsCategory {
return objectChooserDataTypeFromGuard(contentSettingsType(mCategory)); return objectChooserDataTypeFromGuard(contentSettingsType(mCategory));
} }
/**
* Returns whether the Category type is correlated with PermissionInfo
*/
public boolean isPermissionInfo() {
switch (mCategory) {
case Type.AUGMENTED_REALITY:
case Type.CAMERA:
case Type.CLIPBOARD:
case Type.DEVICE_LOCATION:
case Type.NFC:
case Type.NOTIFICATIONS:
case Type.PROTECTED_MEDIA:
case Type.VIRTUAL_REALITY:
return true;
default:
return false;
}
}
/** /**
* Returns whether this category is the specified type. * Returns whether this category is the specified type.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment