Searched refs:IsAllowed (Results 1 - 22 of 22) sorted by relevance

/external/chromium_org/chrome/browser/extensions/
H A Dactive_tab_unittest.cc77 bool IsAllowed(const scoped_refptr<const Extension>& extension, function in class:extensions::__anon4750::ActiveTabTest
79 return IsAllowed(extension, url, tab_id());
82 bool IsAllowed(const scoped_refptr<const Extension>& extension, function in class:extensions::__anon4750::ActiveTabTest
146 EXPECT_TRUE(IsAllowed(extension, google));
170 EXPECT_TRUE(IsAllowed(extension, google));
185 EXPECT_TRUE(IsAllowed(extension, google));
186 EXPECT_TRUE(IsAllowed(another_extension, google));
216 EXPECT_TRUE(IsAllowed(extension, chromium));
217 EXPECT_TRUE(IsAllowed(another_extension, chromium));
228 EXPECT_TRUE(IsAllowed(extensio
[all...]
/external/chromium/chrome/browser/chromeos/
H A Dplugin_selection_policy_unittest.cc174 TEST_F(PluginSelectionPolicyTest, IsAllowed) {
180 EXPECT_TRUE(policy1->IsAllowed(GURL("http://www.foo.com/blah.html"),
182 EXPECT_FALSE(policy1->IsAllowed(GURL("http://www.bar.com/blah.html"),
184 EXPECT_FALSE(policy1->IsAllowed(GURL("http://www.baz.com/blah.html"),
186 EXPECT_TRUE(policy1->IsAllowed(GURL("http://www.baz.com/blah.html"),
192 EXPECT_FALSE(policy2->IsAllowed(GURL("http://www.foo.com/blah.html"),
194 EXPECT_FALSE(policy2->IsAllowed(GURL("http://www.bar.com/blah.html"),
196 EXPECT_FALSE(policy2->IsAllowed(GURL("http://www.baz.com/blah.html"),
198 EXPECT_TRUE(policy2->IsAllowed(GURL("http://www.baz.com/blah.html"),
204 EXPECT_TRUE(policy3->IsAllowed(GUR
[all...]
H A Dplugin_selection_policy.h54 // complete before any calls to IsAllowed happen or it will assert.
55 bool IsAllowed(const GURL& url, const FilePath& path);
62 FRIEND_TEST_ALL_PREFIXES(PluginSelectionPolicyTest, IsAllowed);
76 // This is used to DCHECK if we try and call IsAllowed or
H A Dplugin_selection_policy.cc126 if (IsAllowed(url, info[i].path))
132 bool PluginSelectionPolicy::IsAllowed(const GURL& url, function in class:chromeos::PluginSelectionPolicy
/external/chromium_org/ppapi/api/trusted/
H A Dppb_broker_trusted.idl75 PP_Bool IsAllowed([in] PP_Resource broker);
/external/chromium_org/ppapi/proxy/
H A Dbroker_resource.cc25 PP_Bool BrokerResource::IsAllowed() { function in class:ppapi::proxy::BrokerResource
H A Dbroker_resource.h26 virtual PP_Bool IsAllowed() OVERRIDE;
/external/chromium_org/ppapi/thunk/
H A Dppb_broker_api.h29 // refactored to the new resource model. The IsAllowed function should be
36 virtual PP_Bool IsAllowed() = 0;
H A Dppb_broker_thunk.cc45 PP_Bool IsAllowed(PP_Resource resource) { function in namespace:ppapi::thunk::__anon9587
57 return enter_instance.functions()->IsAllowed();
72 &IsAllowed,
/external/chromium_org/ppapi/c/trusted/
H A Dppb_broker_trusted.h86 PP_Bool (*IsAllowed)(PP_Resource broker); member in struct:PPB_BrokerTrusted_0_3
/external/chromium_org/v8/src/
H A Dhandles-inl.h95 if (!AllowHandleDereference::IsAllowed()) return false;
97 !AllowDeferredHandleDereference::IsAllowed()) {
165 ASSERT(AllowHandleAllocation::IsAllowed());
185 CHECK(AllowHandleAllocation::IsAllowed());
H A Dassert-scope.h132 static bool IsAllowed() {
H A Dheap-inl.h214 ASSERT(AllowHandleAllocation::IsAllowed() && gc_state_ == NOT_IN_GC);
H A Dhydrogen-gvn.cc372 ASSERT(!AllowHandleAllocation::IsAllowed());
H A Dheap.cc454 ASSERT(!AllowHeapAllocation::IsAllowed() && gc_state_ == NOT_IN_GC);
672 ASSERT(AllowHeapAllocation::IsAllowed());
4376 ASSERT(AllowHeapAllocation::IsAllowed() && gc_state_ == NOT_IN_GC);
5915 ASSERT(AllowHeapAllocation::IsAllowed());
H A Ddeoptimizer.cc635 CHECK(AllowHeapAllocation::IsAllowed());
698 CHECK(!AllowHeapAllocation::IsAllowed());
H A Dobjects.cc1101 if (!AllowHeapAllocation::IsAllowed()) return this;
7978 ASSERT(!AllowHeapAllocation::IsAllowed());
11357 ASSERT(AllowCodeDependencyChange::IsAllowed());
H A Dobjects-inl.h924 ASSERT(AllowHeapAllocation::IsAllowed());
H A Druntime.cc8322 ASSERT(AllowHeapAllocation::IsAllowed());
8335 ASSERT(AllowHeapAllocation::IsAllowed());
/external/chromium_org/chrome/browser/content_settings/
H A Dcookie_settings.cc40 bool IsAllowed(ContentSetting setting) { function in namespace:__anon4682
120 return IsAllowed(setting);
126 return IsAllowed(setting);
/external/chromium_org/ppapi/tests/
H A Dtest_broker.cc327 ASSERT_EQ(PP_FALSE, broker_interface_->IsAllowed(broker));
336 ASSERT_EQ(PP_TRUE, broker_interface_->IsAllowed(broker));
/external/chromium_org/android_webview/browser/
H A Din_process_view_renderer.cc159 static bool IsAllowed() { function in class:android_webview::__anon3421::ScopedAllowGL
202 if (ScopedAllowGL::IsAllowed()) {

Completed in 432 milliseconds