Move TemplateURLService preferences registration to the component
commit294879611d3d64e57d762a117413a2f14bed03ad
authorsdefresne <sdefresne@chromium.org>
Fri, 3 Jul 2015 09:24:39 +0000 (3 02:24 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 3 Jul 2015 09:26:07 +0000 (3 09:26 +0000)
tree18231c43cfcf15be317b09a661e307253b7d55c3
parent6a66440f5adbbb48c957fb2beb7818eaa782f7be
Move TemplateURLService preferences registration to the component

Move the preferences registration to a static method of TemplateURLService
so that it can be shared by different embedders and call the method from
the factory.

BUG=371535

Review URL: https://codereview.chromium.org/1211083006

Cr-Commit-Position: refs/heads/master@{#337297}
chrome/browser/search_engines/template_url_service_factory.cc
components/search_engines/template_url_service.cc
components/search_engines/template_url_service.h