| Index: content/common/geolocation_messages.h
|
| diff --git a/content/common/geolocation_messages.h b/content/common/geolocation_messages.h
|
| index b66a1919b7986c8f6feb9f70b32628f2d97bb109..f89424ceccc7e67caa5cb1d8917d5adc032a9ec5 100644
|
| --- a/content/common/geolocation_messages.h
|
| +++ b/content/common/geolocation_messages.h
|
| @@ -34,6 +34,12 @@
|
| int /* bridge_id */,
|
| bool /* is_allowed */)
|
|
|
| +// Sent after GeolocationHostMsg_StartUpdating iff the user has granted
|
| +// permission and we have a position available or an error occurs (such as
|
| +// permission denied, position unavailable, etc.)
|
| +IPC_MESSAGE_ROUTED1(GeolocationMsg_PositionUpdated,
|
| + content::Geoposition /* geoposition */)
|
| +
|
| // Messages sent from the renderer to the browser.
|
|
|
| // The |bridge_id| representing |host| is requesting permission to access
|
| @@ -44,3 +50,16 @@
|
| int /* bridge_id */,
|
| GURL /* origin in the frame requesting geolocation */,
|
| bool /* user_gesture */)
|
| +
|
| +// The render view requests the Geolocation service to start updating.
|
| +// This is an asynchronous call, and the browser process may eventually reply
|
| +// with the updated geoposition, or an error (access denied, location
|
| +// unavailable, etc.)
|
| +IPC_MESSAGE_ROUTED2(GeolocationHostMsg_StartUpdating,
|
| + GURL /* origin in the frame requesting geolocation */,
|
| + bool /* enable_high_accuracy */)
|
| +
|
| +// The render view requests Geolocation service to stop updating.
|
| +// Note that the geolocation service may continue to fetch geolocation data
|
| +// for other origins.
|
| +IPC_MESSAGE_ROUTED0(GeolocationHostMsg_StopUpdating)
|
|
|