JSON Schema Compiler supports functions as PropertyTypes.
Before, the compiler raised an exception when a function was used as a property, which happens whenever a function is passed as a parameter. The solution presented here is to create a bool has_<function_name> to allow the hand-written C++ code to know whether or not the function was passed in. BUG=138850 TEST=function_as_parameter Review URL: https://chromiumcodereview.appspot.com/10824002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148480 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment