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

Unified Diff: content/public/common/geoposition.h

Issue 454253002: Location chooser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Swapping to address InfoBar currying callback case Created 6 years, 4 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
Index: content/public/common/geoposition.h
diff --git a/content/public/common/geoposition.h b/content/public/common/geoposition.h
index 0494696397288a880716f4ab158a6c58c8144865..50155c53dbc8338b26bb52889ce5d394c2c20942 100644
--- a/content/public/common/geoposition.h
+++ b/content/public/common/geoposition.h
@@ -35,6 +35,9 @@ struct CONTENT_EXPORT Geoposition {
// A valid fix has a valid latitude, longitude, accuracy and timestamp.
bool Validate() const;
+ // Modify the geolocation to apply the user's precision preference.
+ Geoposition ApplyPrecision(const int choice) const;
meacer 2014/08/15 22:20:25 As I said earlier, this would be better as a stati
mhm 2014/08/15 23:18:57 Done.
+
// These properties correspond to those of the JavaScript Position object
// although their types may differ.
// Latitude in decimal degrees north (WGS84 coordinate frame).

Powered by Google App Engine
This is Rietveld 408576698