Settings Overrides API: show correct UI for nondefault search engine.
commit80f02d008898aa294e382446bd2dc3ebb57d5e8d
authorvasilii@chromium.org <vasilii@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 16 Apr 2014 17:00:59 +0000 (16 17:00 +0000)
committervasilii@chromium.org <vasilii@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 16 Apr 2014 17:00:59 +0000 (16 17:00 +0000)
treeb7407a82e70ea6c0e338ffb4b4260c78c6dbe546
parent707dc161f91a4fa1bd6b534c99951987b2085a7d
Settings Overrides API: show correct UI for nondefault search engine.

1) Don't show nondefault extension search engines in the list on chrome://settings.
2) Don't set the extension preference prefs::kDefaultSearchProviderEnabled that controls the bubble if the extension doesn't overwrites the default search engine.

BUG=361070

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264223 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc
chrome/browser/search_engines/template_url_service.cc
chrome/browser/search_engines/template_url_service_unittest.cc