IsPrivileged 90 chrome/common/extensions/api/extension_api_unittest.cc TEST(ExtensionAPITest, IsPrivileged) { IsPrivileged 94 chrome/common/extensions/api/extension_api_unittest.cc EXPECT_FALSE(extension_api->IsPrivileged("runtime.connect")); IsPrivileged 95 chrome/common/extensions/api/extension_api_unittest.cc EXPECT_FALSE(extension_api->IsPrivileged("runtime.onConnect")); IsPrivileged 96 chrome/common/extensions/api/extension_api_unittest.cc EXPECT_FALSE(extension_api->IsPrivileged("runtime.lastError")); IsPrivileged 99 chrome/common/extensions/api/extension_api_unittest.cc EXPECT_TRUE(extension_api->IsPrivileged("extension.getViews")); IsPrivileged 100 chrome/common/extensions/api/extension_api_unittest.cc EXPECT_TRUE(extension_api->IsPrivileged("history.search")); IsPrivileged 103 chrome/common/extensions/api/extension_api_unittest.cc EXPECT_FALSE(extension_api->IsPrivileged("app.getDetails")); IsPrivileged 104 chrome/common/extensions/api/extension_api_unittest.cc EXPECT_FALSE(extension_api->IsPrivileged("app.isInstalled")); IsPrivileged 105 chrome/common/extensions/api/extension_api_unittest.cc EXPECT_FALSE(extension_api->IsPrivileged("storage.local")); IsPrivileged 106 chrome/common/extensions/api/extension_api_unittest.cc EXPECT_FALSE(extension_api->IsPrivileged("storage.local.onChanged")); IsPrivileged 107 chrome/common/extensions/api/extension_api_unittest.cc EXPECT_FALSE(extension_api->IsPrivileged("storage.local.set")); IsPrivileged 108 chrome/common/extensions/api/extension_api_unittest.cc EXPECT_FALSE(extension_api->IsPrivileged("storage.local.MAX_ITEMS")); IsPrivileged 109 chrome/common/extensions/api/extension_api_unittest.cc EXPECT_FALSE(extension_api->IsPrivileged("storage.set")); IsPrivileged 146 chrome/common/extensions/api/extension_api_unittest.cc api.IsPrivileged(test_data[i].api_full_name)) << i; IsPrivileged 527 extensions/browser/event_router.cc if (ExtensionAPI::GetSharedInstance()->IsPrivileged(event->event_name) && IsPrivileged 472 extensions/browser/extension_function_dispatcher.cc if (allowed && api->IsPrivileged(params.name)) IsPrivileged 97 extensions/common/extension_api.h bool IsPrivileged(const std::string& name);