Home
last modified time | relevance | path

Searched refs:IsAvailableInUntrustedContext (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/chrome/common/extensions/api/
Dextension_api_unittest.cc88 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/
Dextension_api_stub.cc40 bool ExtensionAPI::IsAvailableInUntrustedContext(const std::string& full_name, in IsAvailableInUntrustedContext() function in extensions::ExtensionAPI
Dextension_api.h109 bool IsAvailableInUntrustedContext(const std::string& name,
Dextension_api.cc293 bool ExtensionAPI::IsAvailableInUntrustedContext(const std::string& name, in IsAvailableInUntrustedContext() function in extensions::ExtensionAPI
/external/chromium_org/extensions/browser/
Devent_router.cc569 !ExtensionAPI::GetSharedInstance()->IsAvailableInUntrustedContext( in DispatchEventToProcess()