Home
last modified time | relevance | path

Searched refs:IsAllowed (Results 1 – 3 of 3) sorted by relevance

/external/chromium/chrome/browser/chromeos/
Dplugin_selection_policy_unittest.cc174 TEST_F(PluginSelectionPolicyTest, IsAllowed) { in TEST_F() argument
180 EXPECT_TRUE(policy1->IsAllowed(GURL("http://www.foo.com/blah.html"), in TEST_F()
182 EXPECT_FALSE(policy1->IsAllowed(GURL("http://www.bar.com/blah.html"), in TEST_F()
184 EXPECT_FALSE(policy1->IsAllowed(GURL("http://www.baz.com/blah.html"), in TEST_F()
186 EXPECT_TRUE(policy1->IsAllowed(GURL("http://www.baz.com/blah.html"), in TEST_F()
192 EXPECT_FALSE(policy2->IsAllowed(GURL("http://www.foo.com/blah.html"), in TEST_F()
194 EXPECT_FALSE(policy2->IsAllowed(GURL("http://www.bar.com/blah.html"), in TEST_F()
196 EXPECT_FALSE(policy2->IsAllowed(GURL("http://www.baz.com/blah.html"), in TEST_F()
198 EXPECT_TRUE(policy2->IsAllowed(GURL("http://www.baz.com/blah.html"), in TEST_F()
204 EXPECT_TRUE(policy3->IsAllowed(GURL("http://www.foo.com/blah.html"), in TEST_F()
[all …]
Dplugin_selection_policy.h55 bool IsAllowed(const GURL& url, const FilePath& path);
62 FRIEND_TEST_ALL_PREFIXES(PluginSelectionPolicyTest, IsAllowed);
Dplugin_selection_policy.cc126 if (IsAllowed(url, info[i].path)) in FindFirstAllowed()
132 bool PluginSelectionPolicy::IsAllowed(const GURL& url, in IsAllowed() function in chromeos::PluginSelectionPolicy