Updated Google Now to Check the Geolocation Access Preference

Hooked up the brand new chrome.preferencesPrivate.googleGeolocationAccessEnabled
API to the startup path as well as control behavior on preference enable/disable
events.

Restructured the code for easy state machine changes.

BUG=164227

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

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