Refactor policy handlers with policy names to derive from same base class.
By making TypeCheckingPolicyHandler, SchemaValidatingPolicyHandler, and SimpleJsonStringSchemaValidatingPolicyHandler all derive from the same class we can allow SimpleDeprecatingPolicyHandler to work with all of them. BUG=chromium:1112810 Change-Id: I67a75965c123989e227efc7a9fad47bd4b7f405e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2337118 Commit-Queue: Brian Malcolm <bmalcolm@chromium.org> Reviewed-by:Owen Min <zmin@chromium.org> Cr-Commit-Position: refs/heads/master@{#794702}
Showing
Please register or sign in to comment