Searched refs:IsAvailableInUntrustedContext (Results 1 – 5 of 5) sorted by relevance
/external/chromium_org/chrome/common/extensions/api/ |
D | extension_api_unittest.cc | 88 TEST(ExtensionAPITest, IsAvailableInUntrustedContext) { in TEST() argument 100 EXPECT_TRUE(extension_api->IsAvailableInUntrustedContext("runtime.connect", in TEST() 102 EXPECT_TRUE(extension_api->IsAvailableInUntrustedContext("runtime.onConnect", in TEST() 104 EXPECT_TRUE(extension_api->IsAvailableInUntrustedContext("runtime.lastError", in TEST() 108 EXPECT_FALSE(extension_api->IsAvailableInUntrustedContext( in TEST() 110 EXPECT_FALSE(extension_api->IsAvailableInUntrustedContext("history.search", in TEST() 115 extension_api->IsAvailableInUntrustedContext("app", extension.get())); in TEST() 116 EXPECT_TRUE(extension_api->IsAvailableInUntrustedContext("app.getDetails", in TEST() 120 EXPECT_TRUE(extension_api->IsAvailableInUntrustedContext("app.isInstalled", in TEST() 122 EXPECT_TRUE(extension_api->IsAvailableInUntrustedContext("storage.local", in TEST() [all …]
|
/external/chromium_org/extensions/common/ |
D | extension_api_stub.cc | 40 bool ExtensionAPI::IsAvailableInUntrustedContext(const std::string& full_name, in IsAvailableInUntrustedContext() function in extensions::ExtensionAPI
|
D | extension_api.h | 109 bool IsAvailableInUntrustedContext(const std::string& name,
|
D | extension_api.cc | 293 bool ExtensionAPI::IsAvailableInUntrustedContext(const std::string& name, in IsAvailableInUntrustedContext() function in extensions::ExtensionAPI
|
/external/chromium_org/extensions/browser/ |
D | event_router.cc | 569 !ExtensionAPI::GetSharedInstance()->IsAvailableInUntrustedContext( in DispatchEventToProcess()
|