| 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 8fede1718c13d7b203db5ac5148bbef4f1482b5e..33eefcb6a8cfa52300830e78d100a319587a9093 100644
|
| --- a/chrome/browser/extensions/active_script_controller.h
|
| +++ b/chrome/browser/extensions/active_script_controller.h
|
| @@ -72,8 +72,12 @@ class ActiveScriptController : public LocationBarController::ActionProvider,
|
| typedef std::map<std::string, PendingRequestList> PendingRequestMap;
|
|
|
| // Handles the NotifyExtensionScriptExecution message.
|
| - void OnNotifyExtensionScriptExecution(const std::string& extension_id,
|
| - int page_id);
|
| + void OnRequestContentScriptPermission(const std::string& extension_id,
|
| + int page_id,
|
| + int request_id);
|
| +
|
| + // Grant the request for permission.
|
| + void GrantContentScriptPermission(int request_id);
|
|
|
| // Returns true if the ActiveScriptController should process the request. This
|
| // can be false if, e.g., the page id does not match, the extension cannot
|
|
|