Index: chrome/common/extensions/api/extension_api_unittest.cc |
diff --git a/chrome/common/extensions/api/extension_api_unittest.cc b/chrome/common/extensions/api/extension_api_unittest.cc |
index 18146e44a1aadad49954471c5d98b63c0cdfe327..106656c8f16e1b253e44f7d5040f4fecf4863ccc 100644 |
--- a/chrome/common/extensions/api/extension_api_unittest.cc |
+++ b/chrome/common/extensions/api/extension_api_unittest.cc |
@@ -97,11 +97,11 @@ TEST(ExtensionAPI, IsPrivileged) { |
scoped_ptr<ExtensionAPI> extension_api( |
ExtensionAPI::CreateWithDefaultConfiguration()); |
- EXPECT_FALSE(extension_api->IsPrivileged("extension.connect")); |
- EXPECT_FALSE(extension_api->IsPrivileged("extension.onConnect")); |
+ EXPECT_FALSE(extension_api->IsPrivileged("runtime.connect")); |
+ EXPECT_FALSE(extension_api->IsPrivileged("runtime.onConnect")); |
// Properties are not supported yet. |
- EXPECT_TRUE(extension_api->IsPrivileged("extension.lastError")); |
+ EXPECT_TRUE(extension_api->IsPrivileged("runtime.lastError")); |
// Default unknown names to privileged for paranoia's sake. |
EXPECT_TRUE(extension_api->IsPrivileged("")); |