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

Side by Side Diff: content/common/geolocation_messages.h

Issue 65273002: Add a mechanism to pause and resume geolocation requests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Wire up onPause/onResume Created 7 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // IPC messages for geolocation. 5 // IPC messages for geolocation.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "content/public/common/geoposition.h" 8 #include "content/public/common/geoposition.h"
9 #include "ipc/ipc_message_macros.h" 9 #include "ipc/ipc_message_macros.h"
10 #include "url/gurl.h" 10 #include "url/gurl.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 IPC_MESSAGE_CONTROL3(GeolocationHostMsg_StartUpdating, 63 IPC_MESSAGE_CONTROL3(GeolocationHostMsg_StartUpdating,
64 int /* render_view_id */, 64 int /* render_view_id */,
65 GURL /* GURL of the frame requesting geolocation */, 65 GURL /* GURL of the frame requesting geolocation */,
66 bool /* enable_high_accuracy */) 66 bool /* enable_high_accuracy */)
67 67
68 // The |render_view_id| requests Geolocation service to stop updating. 68 // The |render_view_id| requests Geolocation service to stop updating.
69 // Note that the geolocation service may continue to fetch geolocation data 69 // Note that the geolocation service may continue to fetch geolocation data
70 // for other origins. 70 // for other origins.
71 IPC_MESSAGE_CONTROL1(GeolocationHostMsg_StopUpdating, 71 IPC_MESSAGE_CONTROL1(GeolocationHostMsg_StopUpdating,
72 int /* render_view_id */) 72 int /* render_view_id */)
73
74 IPC_MESSAGE_CONTROL2(GeolocationHostMsg_PauseOrResume,
75 int,
Michael van Ouwerkerk 2013/11/08 12:27:27 Comment what this is
76 bool)
Michael van Ouwerkerk 2013/11/08 12:27:27 Comment what this is
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698