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

Unified Diff: content/common/geolocation_messages.h

Issue 628773003: Partially convert geolocation IPC to Mojo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Self-review Created 6 years, 2 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/common/geolocation_messages.h
diff --git a/content/common/geolocation_messages.h b/content/common/geolocation_messages.h
index 55b4bd7736825cec9404e2d0402597a0d273d118..507aa33af4befffcbc679568ae6b91e6bbb46866 100644
--- a/content/common/geolocation_messages.h
+++ b/content/common/geolocation_messages.h
@@ -34,12 +34,6 @@ IPC_MESSAGE_ROUTED2(GeolocationMsg_PermissionSet,
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
@@ -54,16 +48,3 @@ IPC_MESSAGE_ROUTED3(GeolocationHostMsg_RequestPermission,
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 */,
- 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)

Powered by Google App Engine
This is Rietveld 408576698