Index: chrome/common/extensions/extension_permission_set_unittest.cc |
diff --git a/chrome/common/extensions/extension_permission_set_unittest.cc b/chrome/common/extensions/extension_permission_set_unittest.cc |
index 9cfa6980c31f2f62a2ec1a2d73856658910dc72b..75e12fa058d67f7e4c0630f804d4ca93f966363e 100644 |
--- a/chrome/common/extensions/extension_permission_set_unittest.cc |
+++ b/chrome/common/extensions/extension_permission_set_unittest.cc |
@@ -162,6 +162,7 @@ TEST(ExtensionAPIPermissionTest, HostedAppPermissions) { |
hosted_perms.insert(ExtensionAPIPermission::kBackground); |
hosted_perms.insert(ExtensionAPIPermission::kClipboardRead); |
hosted_perms.insert(ExtensionAPIPermission::kClipboardWrite); |
+ hosted_perms.insert(ExtensionAPIPermission::kChromeAuthPrivate); |
hosted_perms.insert(ExtensionAPIPermission::kChromePrivate); |
hosted_perms.insert(ExtensionAPIPermission::kExperimental); |
hosted_perms.insert(ExtensionAPIPermission::kGeolocation); |
@@ -177,13 +178,14 @@ TEST(ExtensionAPIPermissionTest, HostedAppPermissions) { |
EXPECT_EQ(hosted_perms.count(*i) > 0, info->GetByID(*i)->is_hosted_app()); |
} |
- EXPECT_EQ(9u, count); |
- EXPECT_EQ(9u, info->get_hosted_app_permission_count()); |
+ EXPECT_EQ(10u, count); |
+ EXPECT_EQ(10u, info->get_hosted_app_permission_count()); |
} |
TEST(ExtensionAPIPermissionTest, ComponentOnlyPermissions) { |
ExtensionPermissionsInfo* info = ExtensionPermissionsInfo::GetInstance(); |
ExtensionAPIPermissionSet private_perms; |
+ private_perms.insert(ExtensionAPIPermission::kChromeAuthPrivate); |
private_perms.insert(ExtensionAPIPermission::kChromeosInfoPrivate); |
private_perms.insert(ExtensionAPIPermission::kFileBrowserPrivate); |
private_perms.insert(ExtensionAPIPermission::kMediaPlayerPrivate); |
@@ -198,7 +200,7 @@ TEST(ExtensionAPIPermissionTest, ComponentOnlyPermissions) { |
info->GetByID(*i)->is_component_only()); |
} |
- EXPECT_EQ(4, count); |
+ EXPECT_EQ(5, count); |
} |
TEST(ExtensionPermissionSetTest, EffectiveHostPermissions) { |
@@ -497,6 +499,7 @@ TEST(ExtensionPermissionSetTest, PermissionMessages) { |
skip.insert(ExtensionAPIPermission::kWebstorePrivate); |
skip.insert(ExtensionAPIPermission::kFileBrowserPrivate); |
skip.insert(ExtensionAPIPermission::kMediaPlayerPrivate); |
+ skip.insert(ExtensionAPIPermission::kChromeAuthPrivate); |
skip.insert(ExtensionAPIPermission::kChromePrivate); |
skip.insert(ExtensionAPIPermission::kChromeosInfoPrivate); |
skip.insert(ExtensionAPIPermission::kWebSocketProxyPrivate); |