Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1877)

Unified Diff: chrome/browser/extensions/suggest_permission_util.cc

Issue 12205002: Packaged apps manifest requires 'fullscreen' permission for HTML5 api. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed template params from permission_warnings.html Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/suggest_permission_util.cc
diff --git a/chrome/browser/extensions/suggest_permission_util.cc b/chrome/browser/extensions/suggest_permission_util.cc
index 391e5b908c73120764ae00e3ab993b11f56a4dcb..6a61fa0d119f1cd0904c7d1a43bdccdffc4d53f2 100644
--- a/chrome/browser/extensions/suggest_permission_util.cc
+++ b/chrome/browser/extensions/suggest_permission_util.cc
@@ -30,6 +30,7 @@ void SuggestAPIPermissionInDevToolsConsole(APIPermission::ID permission,
const APIPermissionInfo* permission_info =
PermissionsInfo::GetInstance()->GetByID(permission);
+ CHECK(permission_info);
// Note, intentionally not internationalizing this string, as it is output
// as a log message to developers in the developer tools console.
« no previous file with comments | « chrome/browser/extensions/extension_fullscreen_apitest.cc ('k') | chrome/browser/ui/extensions/shell_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698