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

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

Issue 11269002: Introduce GeolocationPermissionRequestID, a wrapper struct to contain the (render process ID, rende… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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/public/browser/geolocation_permission_context.h
===================================================================
--- content/public/browser/geolocation_permission_context.h (revision 163741)
+++ content/public/browser/geolocation_permission_context.h (working copy)
@@ -8,6 +8,7 @@
#include "base/callback.h"
#include "base/memory/ref_counted.h"
#include "content/common/content_export.h"
+#include "content/public/browser/geolocation.h"
class GURL;
@@ -23,15 +24,13 @@
// 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,
- int bridge_id,
+ const GeolocationPermissionRequestID& id,
const GURL& requesting_frame,
base::Callback<void(bool)> callback) = 0;
// The renderer is cancelling a pending permission request.
virtual void CancelGeolocationPermissionRequest(
- int render_process_id, int render_view_id, int bridge_id,
+ const GeolocationPermissionRequestID& id,
const GURL& requesting_frame) = 0;
protected:
« content/public/browser/geolocation.h ('K') | « content/public/browser/geolocation.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698