Home
last modified time | relevance | path

Searched refs:HasPermission (Results 1 – 6 of 6) sorted by relevance

/external/chromium/chrome/browser/notifications/
Dnotifications_prefs_cache_unittest.cc37 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()
Ddesktop_notifications_unittest.h94 int HasPermission(const GURL& origin) { in HasPermission() function
95 return service_->prefs_cache()->HasPermission(origin); in HasPermission()
Dnotifications_prefs_cache.h35 int HasPermission(const GURL& origin);
Dnotifications_prefs_cache.cc67 int NotificationsPrefsCache::HasPermission(const GURL& origin) { in HasPermission() function in NotificationsPrefsCache
Ddesktop_notification_service_unittest.cc81 permission_ = cache->HasPermission(url); in CacheHasPermissionIO()
/external/chromium/chrome/browser/chromeos/notifications/
Ddesktop_notifications_unittest.h83 int HasPermission(const GURL& origin) { in HasPermission() function
84 return service_->prefs_cache()->HasPermission(origin); in HasPermission()