Index: extensions/renderer/dispatcher.h |
diff --git a/extensions/renderer/dispatcher.h b/extensions/renderer/dispatcher.h |
index 3e7605cd33cecefbb3bdf60a7c74658c7976da23..b43642a9643c48f521d963d5c0ccac0758e89d8d 100644 |
--- a/extensions/renderer/dispatcher.h |
+++ b/extensions/renderer/dispatcher.h |
@@ -192,7 +192,13 @@ class Dispatcher : public content::RenderProcessObserver, |
void UpdateActiveExtensions(); |
// Sets up the host permissions for |extension|. |
- void UpdateOriginPermissions(const Extension* 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. |
+ void UpdateOriginPermissions(const Extension* extension, |
+ const URLPatternSet& new_patterns, |
+ const URLPatternSet& old_patterns); |
// Enable custom element whitelist in Apps. |
void EnableCustomElementWhiteList(); |