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

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

Issue 955383003: ContentBrowserClient::RequestPermission replies with PermissionStatus instead of bool. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android geolocation breakage Created 5 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
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 e073b14f5d83bfc562e52d57fbd825392e026185..a7bcaf97a9e657436e02643bd8b12d8f065543d9 100644
--- a/chrome/browser/geolocation/geolocation_permission_context_extensions.h
+++ b/chrome/browser/geolocation/geolocation_permission_context_extensions.h
@@ -7,6 +7,7 @@
#include "base/callback_forward.h"
#include "base/macros.h"
+#include "components/content_settings/core/common/content_settings.h"
namespace content {
class WebContents;
@@ -30,7 +31,7 @@ class GeolocationPermissionContextExtensions {
int bridge_id,
const GURL& requesting_frame,
bool user_gesture,
- base::Callback<void(bool)> callback,
+ const base::Callback<void(ContentSetting)>& callback,
bool* permission_set,
bool* new_permission);

Powered by Google App Engine
This is Rietveld 408576698