/external/chromium_org/chrome/browser/content_settings/ |
D | content_settings_origin_identifier_value_map.cc | 43 Rule to_return(current_rule_->first.primary_pattern, in Next() 73 const ContentSettingsPattern& primary_pattern, in PatternPair() argument 75 : primary_pattern(primary_pattern), in PatternPair() 84 if (primary_pattern > other.primary_pattern) in operator <() 86 else if (other.primary_pattern > primary_pattern) in operator <() 138 if (entry->first.primary_pattern.Matches(primary_url) && in GetValue() 147 const ContentSettingsPattern& primary_pattern, in SetValue() argument 152 DCHECK(primary_pattern.IsValid()); in SetValue() 156 PatternPair patterns(primary_pattern, secondary_pattern); in SetValue() 162 const ContentSettingsPattern& primary_pattern, in DeleteValue() argument [all …]
|
D | content_settings_utils.cc | 129 ContentSettingsPattern* primary_pattern, in GetContentSettingValueAndPatterns() argument 139 primary_pattern, secondary_pattern); in GetContentSettingValueAndPatterns() 148 primary_pattern, secondary_pattern); in GetContentSettingValueAndPatterns() 155 ContentSettingsPattern* primary_pattern, in GetContentSettingValueAndPatterns() argument 159 if (rule.primary_pattern.Matches(primary_url) && in GetContentSettingValueAndPatterns() 161 if (primary_pattern) in GetContentSettingValueAndPatterns() 162 *primary_pattern = rule.primary_pattern; in GetContentSettingValueAndPatterns()
|
D | host_content_settings_map.cc | 171 if (rule.primary_pattern == wildcard && in GetDefaultContentSettingFromProvider() 267 const ContentSettingsPattern& primary_pattern, in SetWebsiteSetting() argument 280 if (provider->second->SetWebsiteSetting(primary_pattern, in SetWebsiteSetting() 292 const ContentSettingsPattern& primary_pattern, in SetContentSetting() argument 301 SetWebsiteSetting(primary_pattern, in SetContentSetting() 406 const ContentSettingsPattern& primary_pattern, in OnContentSettingChanged() argument 410 const ContentSettingsDetails details(primary_pattern, in OnContentSettingChanged() 475 SetWebsiteSetting(it->primary_pattern, in MigrateObsoleteClearOnExitPref() 505 rule.primary_pattern != ContentSettingsPattern::Wildcard()) { in AddSettingsForOneType() 511 rule.primary_pattern, rule.secondary_pattern, in AddSettingsForOneType() [all …]
|
D | content_settings_pref_provider.cc | 123 const ContentSettingsPattern& primary_pattern, in SetWebsiteSetting() argument 135 if (primary_pattern == ContentSettingsPattern::Wildcard() && in SetWebsiteSetting() 152 primary_pattern, in SetWebsiteSetting() 159 primary_pattern, in SetWebsiteSetting() 167 UpdatePref(primary_pattern, in SetWebsiteSetting() 175 primary_pattern, secondary_pattern, content_type, resource_identifier); in SetWebsiteSetting() 203 UpdatePref(it->primary_pattern, in ClearAllContentSettingsRules() 234 const ContentSettingsPattern& primary_pattern, in UpdatePref() argument 250 std::string pattern_str(CreatePatternString(primary_pattern, in UpdatePref() 316 DCHECK(rule.primary_pattern != ContentSettingsPattern::Wildcard()); in MigrateObsoleteMediaContentSetting() [all …]
|
D | content_settings_origin_identifier_value_map.h | 38 ContentSettingsPattern primary_pattern; member 40 PatternPair(const ContentSettingsPattern& primary_pattern, 96 const ContentSettingsPattern& primary_pattern, 105 const ContentSettingsPattern& primary_pattern,
|
D | content_settings_rule_unittest.cc | 65 EXPECT_EQ(rule.primary_pattern, ContentSettingsPattern::FromString("a")); in TEST() 69 EXPECT_EQ(rule.primary_pattern, ContentSettingsPattern::FromString("b")); in TEST() 73 EXPECT_EQ(rule.primary_pattern, ContentSettingsPattern::FromString("c")); in TEST() 77 EXPECT_EQ(rule.primary_pattern, ContentSettingsPattern::FromString("d")); in TEST()
|
D | content_settings_internal_extension_provider.cc | 58 const ContentSettingsPattern& primary_pattern, in SetWebsiteSetting() argument 144 ContentSettingsPattern primary_pattern = pattern_builder->Build(); in SetContentSettingForExtensionAndResource() local 149 value_map_.DeleteValue(primary_pattern, in SetContentSettingForExtensionAndResource() 154 value_map_.SetValue(primary_pattern, in SetContentSettingForExtensionAndResource() 161 NotifyObservers(primary_pattern, in SetContentSettingForExtensionAndResource()
|
D | content_settings_rule.cc | 13 const ContentSettingsPattern& primary_pattern, in Rule() argument 16 : primary_pattern(primary_pattern), in Rule()
|
D | cookie_settings.cc | 148 const ContentSettingsPattern& primary_pattern, in SetCookieSetting() argument 155 host_content_settings_map_->SetContentSetting(primary_pattern, in SetCookieSetting() 163 const ContentSettingsPattern& primary_pattern, in ResetCookieSetting() argument 165 host_content_settings_map_->SetContentSetting(primary_pattern, in ResetCookieSetting() 199 if (info.primary_pattern.MatchesAllHosts() && in GetCookieSetting()
|
D | content_settings_details.cc | 8 const ContentSettingsPattern& primary_pattern, in ContentSettingsDetails() argument 12 : primary_pattern_(primary_pattern), in ContentSettingsDetails()
|
D | content_settings_observable_provider.cc | 28 const ContentSettingsPattern& primary_pattern, in NotifyObservers() argument 35 primary_pattern, in NotifyObservers()
|
D | content_settings_details.h | 23 ContentSettingsDetails(const ContentSettingsPattern& primary_pattern, 29 const ContentSettingsPattern& primary_pattern() const { in primary_pattern() function
|
D | content_settings_rule.h | 23 Rule(const ContentSettingsPattern& primary_pattern, 28 ContentSettingsPattern primary_pattern; member
|
D | host_content_settings_map.h | 131 void SetContentSetting(const ContentSettingsPattern& primary_pattern, 142 void SetWebsiteSetting(const ContentSettingsPattern& primary_pattern, 180 const ContentSettingsPattern& primary_pattern,
|
D | content_settings_pref_provider.h | 47 const ContentSettingsPattern& primary_pattern, 73 const ContentSettingsPattern& primary_pattern,
|
D | content_settings_utils.h | 51 ContentSettingsPattern* primary_pattern, 61 ContentSettingsPattern* primary_pattern,
|
D | content_settings_pref_provider_unittest.cc | 206 ContentSettingsPattern primary_pattern = in TEST_F() local 225 provider.SetWebsiteSetting(primary_pattern, in TEST_F() 226 primary_pattern, in TEST_F() 248 provider.SetWebsiteSetting(primary_pattern, in TEST_F() 249 primary_pattern, in TEST_F()
|
D | cookie_settings.h | 80 void SetCookieSetting(const ContentSettingsPattern& primary_pattern, 87 void ResetCookieSetting(const ContentSettingsPattern& primary_pattern,
|
/external/chromium_org/chrome/browser/notifications/ |
D | desktop_notification_service_unittest.cc | 44 settings[0].primary_pattern); in TEST_F() 49 settings[1].primary_pattern); in TEST_F() 54 settings[2].primary_pattern); in TEST_F() 59 settings[3].primary_pattern); in TEST_F() 63 settings[4].primary_pattern); in TEST_F()
|
/external/chromium_org/chrome/common/ |
D | content_settings.cc | 14 const ContentSettingsPattern& primary_pattern, in ContentSettingPatternSource() argument 19 : primary_pattern(primary_pattern), in ContentSettingPatternSource()
|
D | content_settings.h | 30 ContentSettingPatternSource(const ContentSettingsPattern& primary_pattern, 36 ContentSettingsPattern primary_pattern; member 71 ContentSettingsPattern primary_pattern; member
|
/external/chromium_org/chrome/browser/ui/website_settings/ |
D | website_settings.cc | 175 ContentSettingsPattern primary_pattern; in OnSitePermissionChanged() local 182 primary_pattern = ContentSettingsPattern::FromURLNoWildcard(site_url_); in OnSitePermissionChanged() 186 primary_pattern = ContentSettingsPattern::FromURLNoWildcard(site_url_); in OnSitePermissionChanged() 196 primary_pattern = ContentSettingsPattern::FromURL(site_url_); in OnSitePermissionChanged() 202 primary_pattern = ContentSettingsPattern::FromURLNoWildcard(site_url_); in OnSitePermissionChanged() 206 primary_pattern, in OnSitePermissionChanged() 213 primary_pattern, in OnSitePermissionChanged() 239 info.primary_pattern.Compare(primary_pattern); in OnSitePermissionChanged() 243 primary_pattern = info.primary_pattern; in OnSitePermissionChanged() 257 primary_pattern, secondary_pattern, type, std::string(), value); in OnSitePermissionChanged() [all …]
|
/external/chromium_org/chrome/browser/extensions/api/content_settings/ |
D | content_settings_store.cc | 95 const ContentSettingsPattern& primary_pattern, in SetExtensionContentSetting() argument 105 map->DeleteValue(primary_pattern, secondary_pattern, type, identifier); in SetExtensionContentSetting() 107 map->SetValue(primary_pattern, secondary_pattern, type, identifier, in SetExtensionContentSetting() 264 rule.primary_pattern.ToString()); in GetSettingsForExtension() 296 ContentSettingsPattern primary_pattern = in SetExtensionContentSettingFromList() local 298 DCHECK(primary_pattern.IsValid()); in SetExtensionContentSettingFromList() 323 primary_pattern, in SetExtensionContentSettingFromList()
|
D | content_settings_api.cc | 181 ContentSettingsPattern primary_pattern = in RunImpl() local 182 helpers::ParseExtensionPattern(params->details.primary_pattern, in RunImpl() 184 if (!primary_pattern.IsValid()) { in RunImpl() 246 store->SetExtensionContentSetting(extension_id(), primary_pattern, in RunImpl()
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
D | content_settings_handler.cc | 770 if (i->primary_pattern == ContentSettingsPattern::Wildcard() && in UpdateGeolocationExceptionsView() 775 all_patterns_settings[std::make_pair(i->primary_pattern, i->source)] in UpdateGeolocationExceptionsView() 787 const ContentSettingsPattern& primary_pattern = i->first.first; in UpdateGeolocationExceptionsView() local 791 one_settings.find(primary_pattern); in UpdateGeolocationExceptionsView() 796 exceptions.Append(GetGeolocationExceptionForPage(primary_pattern, in UpdateGeolocationExceptionsView() 797 primary_pattern, in UpdateGeolocationExceptionsView() 809 primary_pattern, j->first, j->second)); in UpdateGeolocationExceptionsView() 841 if (i->primary_pattern == ContentSettingsPattern::Wildcard() && in UpdateNotificationExceptionsView() 848 GetNotificationExceptionForPage(i->primary_pattern, i->setting, in UpdateNotificationExceptionsView() 1014 if (i->primary_pattern == ContentSettingsPattern::Wildcard() && in GetExceptionsFromHostContentSettingsMap() [all …]
|