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

Unified Diff: chrome/browser/geolocation/geolocation_permission_context_extensions.h

Issue 1726323002: Have Permission{Manager,Service} use Origin. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 9 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: chrome/browser/geolocation/geolocation_permission_context_extensions.h
diff --git a/chrome/browser/geolocation/geolocation_permission_context_extensions.h b/chrome/browser/geolocation/geolocation_permission_context_extensions.h
index 583c17e784370ff475368c597cd7c1843e322e62..31b93c9bd7ee965bdaa6f7df1cbc14f252010702 100644
--- a/chrome/browser/geolocation/geolocation_permission_context_extensions.h
+++ b/chrome/browser/geolocation/geolocation_permission_context_extensions.h
@@ -13,7 +13,10 @@ namespace content {
class WebContents;
}
-class GURL;
+namespace url {
+class Origin;
+}
+
class PermissionRequestID;
class Profile;
@@ -29,7 +32,7 @@ class GeolocationPermissionContextExtensions {
bool DecidePermission(content::WebContents* web_contents,
const PermissionRequestID& request_id,
int bridge_id,
- const GURL& requesting_frame,
+ const url::Origin& requesting_frame,
const base::Callback<void(ContentSetting)>& callback,
bool* permission_set,
bool* new_permission);

Powered by Google App Engine
This is Rietveld 408576698