Searched refs:HasPermission (Results 1 – 6 of 6) sorted by relevance
37 EXPECT_EQ(cache->HasPermission(GURL("http://allowed.com")), in TEST()39 EXPECT_EQ(cache->HasPermission(GURL("http://allowed2.com")), in TEST()42 EXPECT_EQ(cache->HasPermission(GURL("http://denied.com")), in TEST()44 EXPECT_EQ(cache->HasPermission(GURL("http://denied2.com")), in TEST()47 EXPECT_EQ(cache->HasPermission(GURL("http://unkown.com")), in TEST()51 EXPECT_EQ(cache->HasPermission(GURL("http://unkown.com")), in TEST()55 EXPECT_EQ(cache->HasPermission(GURL("http://unkown.com")), in TEST()59 EXPECT_EQ(cache->HasPermission(GURL("http://unkown.com")), in TEST()
94 int HasPermission(const GURL& origin) { in HasPermission() function95 return service_->prefs_cache()->HasPermission(origin); in HasPermission()
35 int HasPermission(const GURL& origin);
67 int NotificationsPrefsCache::HasPermission(const GURL& origin) { in HasPermission() function in NotificationsPrefsCache
81 permission_ = cache->HasPermission(url); in CacheHasPermissionIO()
83 int HasPermission(const GURL& origin) { in HasPermission() function84 return service_->prefs_cache()->HasPermission(origin); in HasPermission()