Home
last modified time | relevance | path

Searched refs:NotificationsPrefsCache (Results 1 – 7 of 7) sorted by relevance

/external/chromium/chrome/browser/notifications/
Dnotifications_prefs_cache.cc15 NotificationsPrefsCache::NotificationsPrefsCache() in NotificationsPrefsCache() function in NotificationsPrefsCache
20 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 …]
Dnotifications_prefs_cache.h22 class NotificationsPrefsCache
23 : public base::RefCountedThreadSafe<NotificationsPrefsCache> {
25 NotificationsPrefsCache();
56 friend class base::RefCountedThreadSafe<NotificationsPrefsCache>;
58 virtual ~NotificationsPrefsCache();
79 DISALLOW_COPY_AND_ASSIGN(NotificationsPrefsCache);
Ddesktop_notification_service.h28 class NotificationsPrefsCache; variable
83 NotificationsPrefsCache* prefs_cache() { return prefs_cache_; } in prefs_cache()
150 scoped_refptr<NotificationsPrefsCache> prefs_cache_;
Dnotifications_prefs_cache_unittest.cc13 scoped_refptr<NotificationsPrefsCache> cache(new NotificationsPrefsCache()); in TEST()
Ddesktop_notification_service.cc293 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()
Ddesktop_notification_service_unittest.cc44 int CacheHasPermission(NotificationsPrefsCache* cache, const GURL& url) { in CacheHasPermission()
79 void CacheHasPermissionIO(NotificationsPrefsCache* cache, const GURL& url) { in CacheHasPermissionIO()
118 NotificationsPrefsCache* cache_;
/external/chromium/chrome/browser/content_settings/
Dcontent_settings_notification_provider.cc242 NotificationsPrefsCache::ListValueToGurlVector(*allowed_sites, in GetAllowedOrigins()
255 NotificationsPrefsCache::ListValueToGurlVector(*denied_sites, in GetBlockedOrigins()