Index: content/renderer/browser_plugin/browser_plugin.h |
diff --git a/content/renderer/browser_plugin/browser_plugin.h b/content/renderer/browser_plugin/browser_plugin.h |
index b0717a8332cc00e0282c66511d0385e30da4a888..61f5a9859267fbb832a0bad89438e83e6a274506 100644 |
--- a/content/renderer/browser_plugin/browser_plugin.h |
+++ b/content/renderer/browser_plugin/browser_plugin.h |
@@ -130,7 +130,8 @@ class CONTENT_EXPORT BrowserPlugin : |
gfx::Point ToLocalCoordinates(const gfx::Point& point) const; |
// Called by browser plugin binding. |
- void OnEmbedderDecidedPermission(int request_id, bool allow); |
+ void OnEmbedderDecidedPermission(int request_id, bool allow, |
+ const std::string& user_input); |
// Called when a guest instance ID has been allocated by the browser process. |
void OnInstanceIDAllocated(int guest_instance_id); |
@@ -292,12 +293,16 @@ class CONTENT_EXPORT BrowserPlugin : |
// Informs the BrowserPlugin that the guest's permission request has been |
// allowed or denied by the embedder. |
- void RespondPermission(int request_id, bool allow); |
+ void RespondPermission(int request_id, |
+ bool allow, |
+ const std::string& user_input); |
// If the request with id |request_id| is pending then informs the |
// BrowserPlugin that the guest's permission request has been allowed or |
// denied by the embedder. |
- void RespondPermissionIfRequestIsPending(int request_id, bool allow); |
+ void RespondPermissionIfRequestIsPending(int request_id, |
+ bool allow, |
+ const std::string& user_input); |
// Called when the tracked object of |id| ID becomes unreachable in |
// JavaScript. |