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

Unified Diff: chrome/renderer/chrome_render_view_observer.cc

Issue 10649003: Move each permission classes to its own files in extensions/permissions (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase on HEAD Created 8 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/renderer/chrome_render_view_observer.cc
diff --git a/chrome/renderer/chrome_render_view_observer.cc b/chrome/renderer/chrome_render_view_observer.cc
index ab4a4374998fbcf37bd3cb4aefb95b6d3ea742bf..2ced2bd8f5a428595eef7730922ef2e02f354c82 100644
--- a/chrome/renderer/chrome_render_view_observer.cc
+++ b/chrome/renderer/chrome_render_view_observer.cc
@@ -498,7 +498,7 @@ bool ChromeRenderViewObserver::IsExperimentalWebFeatureAllowed(
if (!extension)
return false;
return (extension_dispatcher_->IsExtensionActive(extension->id()) &&
- extension->HasAPIPermission(ExtensionAPIPermission::kExperimental));
+ extension->HasAPIPermission(extensions::APIPermission::kExperimental));
}
bool ChromeRenderViewObserver::allowWebComponents(const WebDocument& document,
« no previous file with comments | « chrome/common/extensions/permissions/permissions_info.cc ('k') | chrome/renderer/extensions/extension_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698