| Index: chrome/renderer/extensions/extension_dispatcher.h
|
| diff --git a/chrome/renderer/extensions/extension_dispatcher.h b/chrome/renderer/extensions/extension_dispatcher.h
|
| index f1fb8e452e95e0b0b5e5d3d3a375da2a0af9de44..84a62cdf31e5b41469cc3944b9cd77b3f0a6787a 100644
|
| --- a/chrome/renderer/extensions/extension_dispatcher.h
|
| +++ b/chrome/renderer/extensions/extension_dispatcher.h
|
| @@ -78,7 +78,8 @@ class ExtensionDispatcher : public RenderProcessObserver {
|
| const std::vector<std::string>& page_actions);
|
| void OnActivateApplication(const std::string& extension_id);
|
| void OnActivateExtension(const std::string& extension_id);
|
| - void OnUpdatePermissions(const std::string& extension_id,
|
| + void OnUpdatePermissions(int reason_id,
|
| + const std::string& extension_id,
|
| const ExtensionAPIPermissionSet& apis,
|
| const URLPatternSet& explicit_hosts,
|
| const URLPatternSet& scriptable_hosts);
|
| @@ -92,7 +93,10 @@ class ExtensionDispatcher : public RenderProcessObserver {
|
| void RegisterExtension(v8::Extension* extension, bool restrict_to_extensions);
|
|
|
| // Sets up the host permissions for |extension|.
|
| - void InitHostPermissions(const Extension* extension);
|
| + void InitOriginPermissions(const Extension* extension);
|
| + void UpdateOriginPermissions(UpdatedExtensionPermissionsInfo::Reason reason,
|
| + const Extension* extension,
|
| + const URLPatternSet& origins);
|
|
|
| // True if this renderer is running extensions.
|
| bool is_extension_process_;
|
|
|