Index: content/public/browser/geolocation.h |
diff --git a/content/public/browser/geolocation.h b/content/public/browser/geolocation.h |
index f66c8edc32ce9344eb8c1f4c3cf6c5e9bda5c1be..1557a8653aadaf87a73f1c2fe454ee46f18be442 100644 |
--- a/content/public/browser/geolocation.h |
+++ b/content/public/browser/geolocation.h |
@@ -11,6 +11,8 @@ |
namespace content { |
+class Geoposition; |
+ |
// Overrides the current location for testing. This function may be called on |
// any thread. The completion callback will be invoked asynchronously on the |
// calling thread when the override operation is completed. |
@@ -18,9 +20,7 @@ namespace content { |
// to provide fake location results when not testing the innards of the |
// geolocation code. |
void CONTENT_EXPORT OverrideLocationForTesting( |
- double latitude, |
- double longitude, |
- double altitude, |
+ const Geoposition& position, |
const base::Closure& completion_callback); |
} // namespace content |