[debugger] Added valid options for SettingSchema
This is the first step to implementing enums and enum-lists for the setting system. This is not hooked yet to the SettingStore, so it's possible to add strings even though the schema doesn't allow it. As no setting uses this functionality, that will be added in another CL for making reviewing easier. TEST=Added SettingSchema unit test. Change-Id: I8376d9266c2fb3591576c9b14b5404db140cbd0b
Showing
- src/developer/debug/zxdb/client/setting_schema.cc 56 additions, 9 deletionssrc/developer/debug/zxdb/client/setting_schema.cc
- src/developer/debug/zxdb/client/setting_schema.h 27 additions, 8 deletionssrc/developer/debug/zxdb/client/setting_schema.h
- src/developer/debug/zxdb/client/setting_schema_unittest.cc 22 additions, 0 deletionssrc/developer/debug/zxdb/client/setting_schema_unittest.cc
- src/developer/debug/zxdb/client/setting_store.cc 6 additions, 4 deletionssrc/developer/debug/zxdb/client/setting_store.cc
- src/developer/debug/zxdb/client/setting_store_unittest.cc 4 additions, 2 deletionssrc/developer/debug/zxdb/client/setting_store_unittest.cc
- src/developer/debug/zxdb/console/verbs_settings.cc 1 addition, 1 deletionsrc/developer/debug/zxdb/console/verbs_settings.cc
Loading
Please register or sign in to comment