Chromium Code Reviews| Index: extensions/browser/suggest_permission_util.h |
| diff --git a/extensions/browser/suggest_permission_util.h b/extensions/browser/suggest_permission_util.h |
| index a10c345691e83b227051dcf92bef88c6d4ad8d83..b7f60d8bed34336fefeda968cdd542aa4f766604 100644 |
| --- a/extensions/browser/suggest_permission_util.h |
| +++ b/extensions/browser/suggest_permission_util.h |
| @@ -8,7 +8,7 @@ |
| #include "extensions/common/permissions/api_permission.h" |
| namespace content { |
| -class RenderViewHost; |
| +class WebContents; |
| } |
| namespace extensions { |
| @@ -21,7 +21,7 @@ class Extension; |
| bool IsExtensionWithPermissionOrSuggestInConsole( |
| APIPermission::ID permission, |
| const Extension* extension, |
| - content::RenderViewHost* host); |
| + content::WebContents* web_contents); |
|
not at google - send to devlin
2015/06/19 23:14:58
RenderFrameHost would be more appropriate.
Devlin
2015/06/19 23:53:52
But that means that then callers have to remember
not at google - send to devlin
2015/06/22 17:54:11
I do think that passing in render frame is more co
Devlin
2015/06/22 19:52:32
Changed.
|
| } // namespace extensions |