Commit 353e0f6e authored by Timothy Loh's avatar Timothy Loh Committed by Commit Bot

Remove unused PermissionAction::(REENABLED/REQUESTED)

The enums PermissionAction::REENABLED and PermissionAction::REQUESTED
don't seem to have ever been used, so this patch removes them.

TBR=nparker

Bug: 638076
Change-Id: Iadcbc6f44a8c33233b702287167baef56c807699
Reviewed-on: https://chromium-review.googlesource.com/867794
Commit-Queue: Timothy Loh <timloh@chromium.org>
Reviewed-by: default avatarNathan Parker <nparker@chromium.org>
Reviewed-by: default avatarRaymes Khoury <raymes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#531822}
parent 03a74b82
......@@ -28,8 +28,6 @@ enum class PermissionAction {
DISMISSED = 2,
IGNORED = 3,
REVOKED = 4,
REENABLED = 5,
REQUESTED = 6,
// Always keep this at the end.
NUM,
......
......@@ -69,9 +69,6 @@ PermissionReport::Action PermissionActionForReport(PermissionAction action) {
return PermissionReport::IGNORED;
case PermissionAction::REVOKED:
return PermissionReport::REVOKED;
case PermissionAction::REENABLED:
case PermissionAction::REQUESTED:
return PermissionReport::ACTION_UNSPECIFIED;
case PermissionAction::NUM:
break;
}
......
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