| Index: extensions/renderer/dispatcher.h
|
| diff --git a/extensions/renderer/dispatcher.h b/extensions/renderer/dispatcher.h
|
| index 021fc943157202a9e092501fb8dc1edca0cf9adf..b022e5b069e77a01a7863bd8128fa1d24b635ef0 100644
|
| --- a/extensions/renderer/dispatcher.h
|
| +++ b/extensions/renderer/dispatcher.h
|
| @@ -189,6 +189,13 @@ class Dispatcher : public content::RenderProcessObserver,
|
| void OnTransferBlobs(const std::vector<std::string>& blob_uuids);
|
| void OnUnloaded(const std::string& id);
|
| void OnUpdatePermissions(const ExtensionMsg_UpdatePermissions_Params& params);
|
| + void OnUpdateTabSpecificPermissions(const GURL& visible_url,
|
| + const std::string& extension_id,
|
| + const URLPatternSet& new_hosts,
|
| + int tab_id);
|
| + void OnClearTabSpecificPermissions(
|
| + const std::vector<std::string>& extension_ids,
|
| + int tab_id);
|
| void OnUsingWebRequestAPI(bool webrequest_used);
|
|
|
| // UserScriptSetManager::Observer implementation.
|
| @@ -200,11 +207,10 @@ class Dispatcher : public content::RenderProcessObserver,
|
| // Sets up the host permissions for |extension|.
|
| void InitOriginPermissions(const Extension* extension);
|
|
|
| - // Updates the host permissions for extension to include only those in
|
| - // |new_patterns|, and remove from |old_patterns| that are no longer allowed.
|
| + // Updates the host permissions for extension to include only those currently
|
| + // in the extensions permissions, and removes any others in |old_patterns|.
|
| void UpdateOriginPermissions(const Extension* extension,
|
| - const URLPatternSet& old_patterns,
|
| - const URLPatternSet& new_patterns);
|
| + const URLPatternSet& old_patterns);
|
|
|
| // Enable custom element whitelist in Apps.
|
| void EnableCustomElementWhiteList();
|
|
|