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

Unified Diff: content/public/browser/geolocation_permission_context.h

Issue 273523007: Dispatch geolocation IPCs on the UI thread. Aside from simplifying the code to avoid a lot of threa… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync Created 6 years, 7 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
« no previous file with comments | « content/common/geolocation_messages.h ('k') | content/public/browser/geolocation_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/geolocation_permission_context.h
===================================================================
--- content/public/browser/geolocation_permission_context.h (revision 269778)
+++ content/public/browser/geolocation_permission_context.h (working copy)
@@ -12,6 +12,7 @@
class GURL;
namespace content {
+class WebContents;
// GeolocationPermissionContext must be implemented by the embedder, to provide
// the policy and logic for the Geolocation permissions flow.
@@ -23,8 +24,7 @@
// When the answer to a permission request has been determined, |callback|
// should be called with the result.
virtual void RequestGeolocationPermission(
- int render_process_id,
- int render_view_id,
+ WebContents* web_contents,
int bridge_id,
const GURL& requesting_frame,
bool user_gesture,
@@ -32,8 +32,7 @@
// The renderer is cancelling a pending permission request.
virtual void CancelGeolocationPermissionRequest(
- int render_process_id,
- int render_view_id,
+ WebContents* web_contents,
int bridge_id,
const GURL& requesting_frame) = 0;
« no previous file with comments | « content/common/geolocation_messages.h ('k') | content/public/browser/geolocation_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698