PpdProvider v3: migrate Restrictions struct
This change moves the Restrictions struct (public in the declaration of PpdProvider) into the PPD metadata parsing code. This is not the change where we cut away the v2 PpdProvider, though, so we retain the old struct definition as PpdProvider::LegacyRestrictions. In addition, this change modifies the semantics of Restrictions; metadata that can be restricted now always contains Restrictions structs, but the struct's members (max and min milestones) are now optional. Bug: chromium:888189 Test: chromeos_unittests Change-Id: I03a3825ec2150e8db93a2187d11285afcd44b07a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2393615 Commit-Queue: Kalvin Lee <kdlee@chromium.org> Reviewed-by:Luum Habtemariam <luum@chromium.org> Cr-Commit-Position: refs/heads/master@{#808603}
Showing
Please register or sign in to comment