| Index: chrome/browser/extensions/active_script_controller.h
|
| diff --git a/chrome/browser/extensions/active_script_controller.h b/chrome/browser/extensions/active_script_controller.h
|
| index e2c7d9d1b507b278233eace924cf3cc0a6b804cd..3a3398cb1af3aa9008488c69001b1c993844b55d 100644
|
| --- a/chrome/browser/extensions/active_script_controller.h
|
| +++ b/chrome/browser/extensions/active_script_controller.h
|
| @@ -88,9 +88,13 @@ class ActiveScriptController : public LocationBarController::ActionProvider,
|
| // Runs any pending injections for the corresponding extension.
|
| void RunPendingForExtension(const Extension* extension);
|
|
|
| - // Handles the NotifyExtensionScriptExecution message.
|
| - void OnNotifyExtensionScriptExecution(const std::string& extension_id,
|
| - int page_id);
|
| + // Handle the RequestContentScriptPermission message.
|
| + void OnRequestContentScriptPermission(const std::string& extension_id,
|
| + int page_id,
|
| + int request_id);
|
| +
|
| + // Grants permission for the given request to run.
|
| + void GrantContentScriptPermission(int request_id);
|
|
|
| // content::WebContentsObserver implementation.
|
| virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
|
|
|