| 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 3edb667a87dad8b6e3df37998ec3bcee411a8bed..e2c7d9d1b507b278233eace924cf3cc0a6b804cd 100644
|
| --- a/chrome/browser/extensions/active_script_controller.h
|
| +++ b/chrome/browser/extensions/active_script_controller.h
|
| @@ -56,6 +56,11 @@ class ActiveScriptController : public LocationBarController::ActionProvider,
|
| int page_id,
|
| const base::Closure& callback);
|
|
|
| + // Notifies the ActiveScriptController that an extension has been granted
|
| + // active tab permissions. This will run any pending injections for that
|
| + // extension.
|
| + void OnActiveTabPermissionGranted(const Extension* extension);
|
| +
|
| // Notifies the ActiveScriptController of detected ad injection.
|
| void OnAdInjectionDetected(const std::vector<std::string> ad_injectors);
|
|
|
| @@ -80,6 +85,9 @@ class ActiveScriptController : public LocationBarController::ActionProvider,
|
| typedef std::vector<PendingRequest> PendingRequestList;
|
| typedef std::map<std::string, PendingRequestList> PendingRequestMap;
|
|
|
| + // 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);
|
|
|