Index: content/common/geolocation_messages.h |
diff --git a/content/common/geolocation_messages.h b/content/common/geolocation_messages.h |
index 55b4bd7736825cec9404e2d0402597a0d273d118..f89424ceccc7e67caa5cb1d8917d5adc032a9ec5 100644 |
--- a/content/common/geolocation_messages.h |
+++ b/content/common/geolocation_messages.h |
@@ -44,23 +44,19 @@ IPC_MESSAGE_ROUTED1(GeolocationMsg_PositionUpdated, |
// The |bridge_id| representing |host| is requesting permission to access |
// geolocation position. This will be replied by GeolocationMsg_PermissionSet. |
+// TODO(mlamouri): |origin| should be a security origin to guarantee that a |
+// proper origin is passed. |
IPC_MESSAGE_ROUTED3(GeolocationHostMsg_RequestPermission, |
int /* bridge_id */, |
- GURL /* GURL of the frame requesting geolocation */, |
+ GURL /* origin in the frame requesting geolocation */, |
bool /* user_gesture */) |
-// The |bridge_id| representing |GURL| is cancelling its previous permission |
-// request to access geolocation position. |
-IPC_MESSAGE_ROUTED2(GeolocationHostMsg_CancelPermissionRequest, |
- int /* bridge_id */, |
- GURL /* GURL of the frame */) |
- |
// 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 /* GURL of the frame requesting geolocation */, |
+ GURL /* origin in the frame requesting geolocation */, |
bool /* enable_high_accuracy */) |
// The render view requests Geolocation service to stop updating. |