Add Google Location Settings geolocation permission flow

Pre MR0 version in Android, we had an explicit "Enable Location"
setting in Chrome that will show the infobar based on the
settings. Post MR0, we use the combination of system master
location setting and system google apps location setting to
decide between

1. Showing the infobar with Allow button (if both master and
google apps are turned on)

2. Showing the infobar with Settings button that will take user
to Google Apps Location Setting activity (if master is on but
google apps location setting is turned off)

3. Do not show infobar (if master is off)

Above functionality has been added in this CL for both pre and
post MR0 cases.

This CL also removes the android unit_test for GeolocationEnabledDisabled. Since the android specific geolocation code is going to be refactored, this test along with few more android specific unit_tests will be added in an upcoming CL.

CQ-DEPEND=0f28fce084f6010242360fb7b6633b8fd7296be4


Review URL: https://chromiumcodereview.appspot.com/11186010

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164466 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: cb2322e2bf590f64bd8dee08b418477138d51ae4
1 file changed
tree: 8ae3ba6aee4ece454561f0816d2ad8a157561a77
  1. base/
  2. build/
  3. dbus/
  4. ipc/
  5. testing/
  6. third_party/