Unify location settings for default search providers.
commit493f0ea4a1752dcdd355323426007c9077a6e84b
authorfinnur <finnur@chromium.org>
Tue, 31 Mar 2015 12:02:43 +0000 (31 05:02 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 31 Mar 2015 12:03:53 +0000 (31 12:03 +0000)
treee16b18a6641573a618c108672eafdafefbe23a5e
parent75f4dea3849c2005a3e3133551350d50ad758cbc
Unify location settings for default search providers.

- Show whether Location is allowed for the search engine you set as DSP.
- Set the Location permission for the DSP (if missing).
- Provide easy way of getting to the location toggle if location reporting for the search engine is not to your liking.

BUG=432140

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

Cr-Commit-Position: refs/heads/master@{#323016}
chrome/android/java/res/layout/search_engine.xml [new file with mode: 0644]
chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java
chrome/android/java/src/org/chromium/chrome/browser/preferences/SearchEngineAdapter.java [new file with mode: 0644]
chrome/android/java/src/org/chromium/chrome/browser/preferences/SearchEnginePreference.java
chrome/android/java/src/org/chromium/chrome/browser/preferences/website/WebsitePreferenceBridge.java
chrome/android/java/src/org/chromium/chrome/browser/search_engines/TemplateUrlService.java
chrome/android/java/strings/android_chrome_strings.grd
chrome/android/javatests/src/org/chromium/chrome/browser/preferences/PreferencesTest.java
chrome/browser/search_engines/template_url_service_android.cc
chrome/browser/search_engines/template_url_service_android.h