Home
last modified time | relevance | path

Searched refs:primary_pattern (Results 1 – 25 of 51) sorted by relevance

123

/external/chromium_org/chrome/browser/content_settings/
Dcontent_settings_origin_identifier_value_map.cc43 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 …]
Dcontent_settings_utils.cc129 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()
Dhost_content_settings_map.cc171 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 …]
Dcontent_settings_pref_provider.cc123 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 …]
Dcontent_settings_origin_identifier_value_map.h38 ContentSettingsPattern primary_pattern; member
40 PatternPair(const ContentSettingsPattern& primary_pattern,
96 const ContentSettingsPattern& primary_pattern,
105 const ContentSettingsPattern& primary_pattern,
Dcontent_settings_rule_unittest.cc65 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()
Dcontent_settings_internal_extension_provider.cc58 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()
Dcontent_settings_rule.cc13 const ContentSettingsPattern& primary_pattern, in Rule() argument
16 : primary_pattern(primary_pattern), in Rule()
Dcookie_settings.cc148 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()
Dcontent_settings_details.cc8 const ContentSettingsPattern& primary_pattern, in ContentSettingsDetails() argument
12 : primary_pattern_(primary_pattern), in ContentSettingsDetails()
Dcontent_settings_observable_provider.cc28 const ContentSettingsPattern& primary_pattern, in NotifyObservers() argument
35 primary_pattern, in NotifyObservers()
Dcontent_settings_details.h23 ContentSettingsDetails(const ContentSettingsPattern& primary_pattern,
29 const ContentSettingsPattern& primary_pattern() const { in primary_pattern() function
Dcontent_settings_rule.h23 Rule(const ContentSettingsPattern& primary_pattern,
28 ContentSettingsPattern primary_pattern; member
Dhost_content_settings_map.h131 void SetContentSetting(const ContentSettingsPattern& primary_pattern,
142 void SetWebsiteSetting(const ContentSettingsPattern& primary_pattern,
180 const ContentSettingsPattern& primary_pattern,
Dcontent_settings_pref_provider.h47 const ContentSettingsPattern& primary_pattern,
73 const ContentSettingsPattern& primary_pattern,
Dcontent_settings_utils.h51 ContentSettingsPattern* primary_pattern,
61 ContentSettingsPattern* primary_pattern,
Dcontent_settings_pref_provider_unittest.cc206 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()
Dcookie_settings.h80 void SetCookieSetting(const ContentSettingsPattern& primary_pattern,
87 void ResetCookieSetting(const ContentSettingsPattern& primary_pattern,
/external/chromium_org/chrome/browser/notifications/
Ddesktop_notification_service_unittest.cc44 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/
Dcontent_settings.cc14 const ContentSettingsPattern& primary_pattern, in ContentSettingPatternSource() argument
19 : primary_pattern(primary_pattern), in ContentSettingPatternSource()
Dcontent_settings.h30 ContentSettingPatternSource(const ContentSettingsPattern& primary_pattern,
36 ContentSettingsPattern primary_pattern; member
71 ContentSettingsPattern primary_pattern; member
/external/chromium_org/chrome/browser/ui/website_settings/
Dwebsite_settings.cc175 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/
Dcontent_settings_store.cc95 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()
Dcontent_settings_api.cc181 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/
Dcontent_settings_handler.cc770 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 …]

123