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

Unified Diff: chrome/browser/geolocation/chrome_geolocation_permission_context_android.cc

Issue 147543004: [Geolocation] Add permission bubble client. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix android, rebase Created 6 years, 10 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 | « chrome/browser/geolocation/chrome_geolocation_permission_context_android.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/geolocation/chrome_geolocation_permission_context_android.cc
diff --git a/chrome/browser/geolocation/chrome_geolocation_permission_context_android.cc b/chrome/browser/geolocation/chrome_geolocation_permission_context_android.cc
index afb213cf34353c11985c078dda19866207ee32e1..bcdb52f9e2242ce5ea1e09ed9872d124ad7067d3 100644
--- a/chrome/browser/geolocation/chrome_geolocation_permission_context_android.cc
+++ b/chrome/browser/geolocation/chrome_geolocation_permission_context_android.cc
@@ -9,6 +9,7 @@
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/pref_names.h"
#include "content/public/browser/browser_thread.h"
+#include "content/public/browser/web_contents.h"
ChromeGeolocationPermissionContextAndroid::
ChromeGeolocationPermissionContextAndroid(Profile* profile)
@@ -22,6 +23,7 @@ ChromeGeolocationPermissionContextAndroid::
}
void ChromeGeolocationPermissionContextAndroid::DecidePermission(
+ content::WebContents* web_contents,
const PermissionRequestID& id,
const GURL& requesting_frame,
const GURL& embedder,
@@ -36,8 +38,8 @@ void ChromeGeolocationPermissionContextAndroid::DecidePermission(
return;
}
- ChromeGeolocationPermissionContext::DecidePermission(id, requesting_frame,
- embedder, callback);
+ ChromeGeolocationPermissionContext::DecidePermission(
+ web_contents, id, requesting_frame, embedder, callback);
}
void ChromeGeolocationPermissionContextAndroid::PermissionDecided(
« no previous file with comments | « chrome/browser/geolocation/chrome_geolocation_permission_context_android.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698