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

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: See if rebasing fixes the tests... 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 bfe2e707b16b2ff4898852df21c5ca5cade2ac55..dbe4b30da9d045aff93e7cb3ec81dbe8cc573e7f 100644
--- a/chrome/browser/extensions/extension_tabs_module.cc
+++ b/chrome/browser/extensions/extension_tabs_module.cc
@@ -548,8 +548,8 @@ bool CreateWindowFunction::RunImpl() {
window_type = Browser::TYPE_POPUP;
app_name = GetExtension()->id();
} else if (type_str == keys::kWindowTypeValuePanel) {
- if (GetExtension()->HasApiPermission(
- Extension::kExperimentalPermission)) {
+ if (GetExtension()->HasAPIPermission(
+ ExtensionAPIPermission::kExperimental)) {
window_type = Browser::TYPE_PANEL;
app_name = GetExtension()->id();
} else {

Powered by Google App Engine
This is Rietveld 408576698