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

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

Issue 11747025: Run the JSON Schema Compiler's bundle compilation on JSON files. Previously it (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: restore fileBrowserPrivate bindings Created 7 years, 11 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/active_tab_permission_granter.cc
diff --git a/chrome/browser/extensions/active_tab_permission_granter.cc b/chrome/browser/extensions/active_tab_permission_granter.cc
index da3694a5599559ca8f5c6989bddbf6760619fff9..34ef7d29931b8e5df431c35cfb8c25d22088b357 100644
--- a/chrome/browser/extensions/active_tab_permission_granter.cc
+++ b/chrome/browser/extensions/active_tab_permission_granter.cc
@@ -41,6 +41,8 @@ void ActiveTabPermissionGranter::GrantIfRequested(const Extension* extension) {
if (IsGranted(extension))
return;
+ NOTREACHED();
+
URLPattern pattern(UserScript::kValidUserScriptSchemes);
if (pattern.Parse(web_contents()->GetURL().spec()) !=
URLPattern::PARSE_SUCCESS) {

Powered by Google App Engine
This is Rietveld 408576698