-
Pavel Yatsuk authored
This CL adds implementation for TemplateUrlServiceAndroid::SetPlayAPISearchEngine. The function: - Checks if Play API search engine already exists. - Adds new search engine marking it with created_from_play_api flag. - Sets the search engine as DSE if enterprise policy allows. The logic for merging new search engine with existing prepopulated or autogenerated is still not implemented. BUG=1002271 R=pkasting@chromium.org,wylieb@chromium.org Change-Id: I3065df7218f90fb74cabbd338b37b8286d2450ef Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1826001Reviewed-by:
Kevin Bailey <krb@chromium.org> Reviewed-by:
Ted Choc <tedchoc@chromium.org> Reviewed-by:
Peter Kasting <pkasting@chromium.org> Commit-Queue: Pavel Yatsuk <pavely@chromium.org> Cr-Commit-Position: refs/heads/master@{#700478}
daf6c775