I don't think we need to change the interface, just do the converting in the callback point in XWalkContentsIoThreadClient should be enough.