Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1846)

Unified Diff: content/public/browser/geolocation.h

Issue 10316007: Make the Geoposition helper class public (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix forward-declaration of struct as class. Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/content_common.gypi ('k') | content/public/common/geoposition.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/geolocation.h
diff --git a/content/public/browser/geolocation.h b/content/public/browser/geolocation.h
index f66c8edc32ce9344eb8c1f4c3cf6c5e9bda5c1be..23868e906af2e0d2df1e0e20c5332d6a8a64be48 100644
--- a/content/public/browser/geolocation.h
+++ b/content/public/browser/geolocation.h
@@ -11,6 +11,8 @@
namespace content {
+struct 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
« no previous file with comments | « content/content_common.gypi ('k') | content/public/common/geoposition.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698