Location provider using Windows 7 Location API
Implementation of a location provider that uses the Windows 7 Location API. Currently uses polling to get the users location, I will update this to use signals provided by the API in a future patch.
BUG=45535
TEST=Two test files included.
Review URL: http://codereview.chromium.org/3015053
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56332 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi
index 8c05212..45ed49f 100644
--- a/chrome/chrome_browser.gypi
+++ b/chrome/chrome_browser.gypi
@@ -1496,6 +1496,10 @@
'browser/geolocation/wifi_data_provider_mac.h',
'browser/geolocation/wifi_data_provider_win.cc',
'browser/geolocation/wifi_data_provider_win.h',
+ 'browser/geolocation/win7_location_api_win.cc',
+ 'browser/geolocation/win7_location_api_win.h',
+ 'browser/geolocation/win7_location_provider_win.cc',
+ 'browser/geolocation/win7_location_provider_win.h',
'browser/google_service_auth_error.h',
'browser/google_update.cc',
'browser/google_update.h',
@@ -3252,6 +3256,14 @@
'export_dependent_settings': [
'../views/views.gyp:views',
],
+ 'direct_dependent_settings': {
+ 'link_settings': {
+ 'libraries': [
+ '-llocationapi.lib',
+ '-lsensorsapi.lib',
+ ],
+ }
+ },
'sources': [
'browser/net/ssl_config_service_manager_system.cc',
# Using built-in rule in vstudio for midl.