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

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

Issue 7003098: Start refractoring extension permissions into ExtensionPermissionSet. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix a bad merge Created 9 years, 6 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/extension_tabs_module.cc
diff --git a/chrome/browser/extensions/extension_tabs_module.cc b/chrome/browser/extensions/extension_tabs_module.cc
index 8ef378d26f92a6c21daa997516044c64ff3d6bba..a68ff350609dea5786bf2d77c57082b14401e823 100644
--- a/chrome/browser/extensions/extension_tabs_module.cc
+++ b/chrome/browser/extensions/extension_tabs_module.cc
@@ -530,7 +530,7 @@ bool CreateWindowFunction::RunImpl() {
app_name = GetExtension()->id();
} else if (type_str == keys::kWindowTypeValuePanel) {
if (GetExtension()->HasApiPermission(
- Extension::kExperimentalPermission)) {
+ ExtensionAPIPermission::Experimental())) {
window_type = Browser::TYPE_PANEL;
app_name = GetExtension()->id();
} else {

Powered by Google App Engine
This is Rietveld 408576698