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

Unified Diff: chrome/common/extensions/extension_manifests_unittest.cc

Issue 8598022: Restrict access to permissions based on extension types. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 1 month 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/common/extensions/extension_manifests_unittest.cc
diff --git a/chrome/common/extensions/extension_manifests_unittest.cc b/chrome/common/extensions/extension_manifests_unittest.cc
index 70295709838c86ba6a2db92fb693d36b9191e98b..15ffb4edffab9b405252f5a5ca4a6d864e0e770d 100644
--- a/chrome/common/extensions/extension_manifests_unittest.cc
+++ b/chrome/common/extensions/extension_manifests_unittest.cc
@@ -653,7 +653,7 @@ TEST_F(ExtensionManifestTest, HostedAppPermissions) {
EXPECT_TRUE(extension->GetActivePermissions()->HasAPIPermission(
permission->id()));
- } else if (!permission->is_hosted_app()) {
+ } else if (!permission->supports_hosted_apps()) {
Aaron Boodman 2011/11/22 09:40:32 I like the 'supports' nomenclature better - nice c
jstritar 2011/11/22 15:58:29 Nice, thx.
// Most normal extension permissions also aren't available to hosted apps.
// For these, the error is only reported in strict mode for legacy
// reasons: crbug.com/101993.

Powered by Google App Engine
This is Rietveld 408576698