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

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

Issue 235633002: <webview>: Move Geolocation permission to chrome layer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments and Merge with ToT Created 6 years, 8 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/browser_plugin_guest_delegate.h
diff --git a/content/public/browser/browser_plugin_guest_delegate.h b/content/public/browser/browser_plugin_guest_delegate.h
index 7e1c2f7c7a72094958850934adf6fcc8aee5aac2..89608f4a752293f06adad760f413ca7287bf9530 100644
--- a/content/public/browser/browser_plugin_guest_delegate.h
+++ b/content/public/browser/browser_plugin_guest_delegate.h
@@ -87,8 +87,8 @@ class CONTENT_EXPORT BrowserPluginGuestDelegate {
// Request permission from the delegate to perform an action of the provided
// |permission_type|. Details of the permission request are found in
// |request_info|. A |callback| is provided to make the decision.
- // Returns whether the delegate has, or will handle the permission request.
- virtual bool RequestPermission(
+ // Returns an unique identifier for the request.
jam 2014/04/14 18:11:55 this return value isn't used in content (which i a
Fady Samuel 2014/04/14 18:51:14 Done.
+ virtual int RequestPermission(
BrowserPluginPermissionType permission_type,
const base::DictionaryValue& request_info,
const PermissionResponseCallback& callback,

Powered by Google App Engine
This is Rietveld 408576698