Chromium Code Reviews| Index: content/public/common/geoposition.h |
| diff --git a/content/public/common/geoposition.h b/content/public/common/geoposition.h |
| index 0494696397288a880716f4ab158a6c58c8144865..2ccccc1aa3ce87dddef5b501b6248829323b7446 100644 |
| --- a/content/public/common/geoposition.h |
| +++ b/content/public/common/geoposition.h |
| @@ -35,6 +35,10 @@ struct CONTENT_EXPORT Geoposition { |
| // A valid fix has a valid latitude, longitude, accuracy and timestamp. |
| bool Validate() const; |
| + // Creates a new geoposition according to the specified precision. |
| + static Geoposition ApplyPrecision(const Geoposition& position, |
| + const int precisions); |
|
meacer
2014/08/15 23:34:46
precisions -> precision
|
| + |
| // These properties correspond to those of the JavaScript Position object |
| // although their types may differ. |
| // Latitude in decimal degrees north (WGS84 coordinate frame). |