class Extension;
-// Outputs a suggestion in the developer tools console to use |permission|.
-void SuggestAPIPermissionInDevToolsConsole(APIPermission::ID permission,
- const Extension* extension,
- content::RenderViewHost* host);
-
-// Outputs a suggestion in the developer tools console to use |permission|.
-void SuggestAPIPermissionInDevToolsConsole(APIPermission::ID permission,
- const Extension* extension,
- Profile* profile);
-
// Checks that |extension| is not NULL and that it has |permission|. If not
// and extension, just returns false. If an extension without |permission|
// returns false and suggests |permision| in the developer tools console.
const Extension* extension,
content::RenderViewHost* host);
-// Checks that |extension| is not NULL and that it has |permission|. If not
-// and extension, just returns false. If an extension without |permission|
-// returns false and suggests |permision| in the developer tools console.
-bool IsExtensionWithPermissionOrSuggestInConsole(
- APIPermission::ID permission,
- const Extension* extension,
- Profile* profile);
-
} // namespace extensions
#endif // CHROME_BROWSER_EXTENSIONS_SUGGEST_PERMISSION_UTIL_H_