Searched refs:NotificationsPrefsCache (Results 1 – 7 of 7) sorted by relevance
15 NotificationsPrefsCache::NotificationsPrefsCache() in NotificationsPrefsCache() function in NotificationsPrefsCache20 void NotificationsPrefsCache::CacheAllowedOrigin( in CacheAllowedOrigin()29 void NotificationsPrefsCache::CacheDeniedOrigin( in CacheDeniedOrigin()38 void NotificationsPrefsCache::SetCacheAllowedOrigins( in SetCacheAllowedOrigins()44 void NotificationsPrefsCache::SetCacheDeniedOrigins( in SetCacheDeniedOrigins()50 void NotificationsPrefsCache::SetCacheDefaultContentSetting( in SetCacheDefaultContentSetting()56 void NotificationsPrefsCache::ListValueToGurlVector( in ListValueToGurlVector()67 int NotificationsPrefsCache::HasPermission(const GURL& origin) { in HasPermission()84 NotificationsPrefsCache::~NotificationsPrefsCache() {} in ~NotificationsPrefsCache()86 bool NotificationsPrefsCache::IsOriginAllowed( in IsOriginAllowed()[all …]
22 class NotificationsPrefsCache23 : public base::RefCountedThreadSafe<NotificationsPrefsCache> {25 NotificationsPrefsCache();56 friend class base::RefCountedThreadSafe<NotificationsPrefsCache>;58 virtual ~NotificationsPrefsCache();79 DISALLOW_COPY_AND_ASSIGN(NotificationsPrefsCache);
28 class NotificationsPrefsCache; variable83 NotificationsPrefsCache* prefs_cache() { return prefs_cache_; } in prefs_cache()150 scoped_refptr<NotificationsPrefsCache> prefs_cache_;
13 scoped_refptr<NotificationsPrefsCache> cache(new NotificationsPrefsCache()); in TEST()
293 prefs_cache_ = new NotificationsPrefsCache(); in InitPrefs()338 &NotificationsPrefsCache::CacheAllowedOrigin, in GrantPermission()358 &NotificationsPrefsCache::CacheDeniedOrigin, in DenyPermission()378 &NotificationsPrefsCache::SetCacheDefaultContentSetting, in Observe()400 &NotificationsPrefsCache::SetCacheAllowedOrigins, in OnPrefsChanged()409 &NotificationsPrefsCache::SetCacheDeniedOrigins, in OnPrefsChanged()
44 int CacheHasPermission(NotificationsPrefsCache* cache, const GURL& url) { in CacheHasPermission()79 void CacheHasPermissionIO(NotificationsPrefsCache* cache, const GURL& url) { in CacheHasPermissionIO()118 NotificationsPrefsCache* cache_;
242 NotificationsPrefsCache::ListValueToGurlVector(*allowed_sites, in GetAllowedOrigins()255 NotificationsPrefsCache::ListValueToGurlVector(*denied_sites, in GetBlockedOrigins()