Fix Geolocation by adding Google API key support (issue #365).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@920 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
6b7716f64b
commit
9ce5dc6293
|
@ -767,6 +767,7 @@
|
||||||
'<(DEPTH)/content/common/net/url_fetcher.cc',
|
'<(DEPTH)/content/common/net/url_fetcher.cc',
|
||||||
'<(DEPTH)/content/common/net/url_request_user_data.cc',
|
'<(DEPTH)/content/common/net/url_request_user_data.cc',
|
||||||
'<(DEPTH)/content/public/common/geoposition.cc',
|
'<(DEPTH)/content/public/common/geoposition.cc',
|
||||||
|
'<(DEPTH)/google_apis/google_api_keys.cc',
|
||||||
],
|
],
|
||||||
'conditions': [
|
'conditions': [
|
||||||
['OS=="win"', {
|
['OS=="win"', {
|
||||||
|
|
|
@ -354,14 +354,3 @@ namespace switches {
|
||||||
const char kExperimentalLocationFeatures[] = "experimental-location-features";
|
const char kExperimentalLocationFeatures[] = "experimental-location-features";
|
||||||
|
|
||||||
} // namespace switches
|
} // namespace switches
|
||||||
|
|
||||||
|
|
||||||
// Stub implementation of google_apis/google_api_keys.h.
|
|
||||||
|
|
||||||
namespace google_apis {
|
|
||||||
|
|
||||||
std::string GetAPIKey() {
|
|
||||||
return std::string();
|
|
||||||
}
|
|
||||||
|
|
||||||
} // namespace google_apis
|
|
||||||
|
|
Loading…
Reference in New Issue