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

Unified Diff: chrome/renderer/chrome_render_view_observer.cc

Issue 10675007: Move each permission classes to its own files in extensions/permissions (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: 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));
miket_OOO 2012/06/26 23:23:44 Whitespace! (Sorry to be so strict, but someone el
Peng 2012/06/26 23:32:35 If use old indentation, this Line will be more tha
Peng 2012/06/26 23:42:53 Done.
}
bool ChromeRenderViewObserver::allowWebComponents(const WebDocument& document,

Powered by Google App Engine
This is Rietveld 408576698