Index: content/browser/web_contents/web_contents_impl.h |
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h |
index 8d550438fa12b6ff1af50c75f9e2f6d47c924858..9009826d9fa86dd47ca691849c4cff5e2f49d0dd 100644 |
--- a/content/browser/web_contents/web_contents_impl.h |
+++ b/content/browser/web_contents/web_contents_impl.h |
@@ -484,6 +484,10 @@ class CONTENT_EXPORT WebContentsImpl |
bool success, |
const string16& user_input); |
+ // Callback function when requesting permission to access the PPAPI broker. |
+ // |result| is true iff permission was granted. |
+ void OnPpapiBrokerPermissionResult(int request_id, bool result); |
+ |
// IPC message handlers. |
void OnRegisterIntentService(const webkit_glue::WebIntentServiceData& data, |
bool user_gesture); |
@@ -533,6 +537,9 @@ class CONTENT_EXPORT WebContentsImpl |
void OnWebUISend(const GURL& source_url, |
const std::string& name, |
const base::ListValue& args); |
+ void OnRequestPpapiBrokerPermission(int request_id, |
+ const GURL& url, |
+ const FilePath& plugin_path); |
// Changes the IsLoading state and notifies delegate as needed |
// |details| is used to provide details on the load that just finished |