[Extensions Binding] Update ArgumentSpec to support dictionary enums
The enum definitions in our schemas can either be in the form of a list value with string entries (e.g. "enum": ["foo", "bar", "baz"]) or in the form of a dictionary with a name entry (e.g. "enum": [{"name": "foo"}]). Adjust ArgumentSpec to account for the latter, and add tests. BUG=653596 Review-Url: https://chromiumcodereview.appspot.com/2439263003 Cr-Commit-Position: refs/heads/master@{#426999}
Showing
Please register or sign in to comment