TemplateUrlService code needs to be refactored including:
1. TemplateUrl retrieve should not based on the index
2. TemplateUrl should only cache the native pointer to access the related information.
3. Custom search engine sorting and filtering should be applied on Java side.
4. Native side should not cache the list of TemplateUrl.
Comment 1 by ltian@chromium.org
, Apr 21 2018