Searched defs:resource_identifier (Results 1 - 25 of 29) sorted by relevance

12

/external/chromium_org/chrome/browser/content_settings/
H A Dcontent_settings_details.cc11 const std::string& resource_identifier)
15 resource_identifier_(resource_identifier) {
7 ContentSettingsDetails( const ContentSettingsPattern& primary_pattern, const ContentSettingsPattern& secondary_pattern, ContentSettingsType type, const std::string& resource_identifier) argument
H A Dcontent_settings_details.h26 const std::string& resource_identifier);
48 const std::string& resource_identifier() const { function in class:ContentSettingsDetails
H A Dcontent_settings_mock_provider.cc20 const ResourceIdentifier& resource_identifier,
22 return value_map_.GetRuleIterator(content_type, resource_identifier, NULL);
29 const ResourceIdentifier& resource_identifier,
37 resource_identifier,
18 GetRuleIterator( ContentSettingsType content_type, const ResourceIdentifier& resource_identifier, bool incognito) const argument
25 SetWebsiteSetting( const ContentSettingsPattern& requesting_url_pattern, const ContentSettingsPattern& embedding_url_pattern, ContentSettingsType content_type, const ResourceIdentifier& resource_identifier, base::Value* value) argument
H A Dcontent_settings_observable_provider.cc31 const std::string& resource_identifier) {
38 resource_identifier));
27 NotifyObservers( const ContentSettingsPattern& primary_pattern, const ContentSettingsPattern& secondary_pattern, ContentSettingsType content_type, const std::string& resource_identifier) argument
H A Dcontent_settings_custom_extension_provider.cc27 const ResourceIdentifier& resource_identifier,
30 resource_identifier,
38 const ResourceIdentifier& resource_identifier,
25 GetRuleIterator( ContentSettingsType content_type, const ResourceIdentifier& resource_identifier, bool incognito) const argument
34 SetWebsiteSetting( const ContentSettingsPattern& primary_pattern, const ContentSettingsPattern& secondary_pattern, ContentSettingsType content_type, const ResourceIdentifier& resource_identifier, Value* value) argument
H A Dcontent_settings_origin_identifier_value_map.h31 ResourceIdentifier resource_identifier; member in struct:content_settings::OriginIdentifierValueMap::EntryMapKey
33 const ResourceIdentifier& resource_identifier);
71 // |resource_identifier|. The caller takes the ownership of the iterator. It
77 const ResourceIdentifier& resource_identifier,
84 // |secondary_pattern|, |content_type|, |resource_identifier| tuple. If
90 const ResourceIdentifier& resource_identifier) const;
93 // |content_type|, |resource_identifier| tuple. The method takes the ownership
99 const ResourceIdentifier& resource_identifier,
103 // |secondary_pattern|, |content_type|, |resource_identifier| tuple.
108 const ResourceIdentifier& resource_identifier);
[all...]
H A Dcontent_settings_internal_extension_provider.cc50 const ResourceIdentifier& resource_identifier,
52 return value_map_.GetRuleIterator(content_type, resource_identifier, &lock_);
59 const ResourceIdentifier& resource_identifier,
48 GetRuleIterator( ContentSettingsType content_type, const ResourceIdentifier& resource_identifier, bool incognito) const argument
55 SetWebsiteSetting( const ContentSettingsPattern& primary_pattern, const ContentSettingsPattern& secondary_pattern, ContentSettingsType content_type, const ResourceIdentifier& resource_identifier, Value* value) argument
H A Dcontent_settings_default_provider.cc180 const ResourceIdentifier& resource_identifier,
239 const ResourceIdentifier& resource_identifier,
242 if (resource_identifier.empty()) {
176 SetWebsiteSetting( const ContentSettingsPattern& primary_pattern, const ContentSettingsPattern& secondary_pattern, ContentSettingsType content_type, const ResourceIdentifier& resource_identifier, Value* in_value) argument
237 GetRuleIterator( ContentSettingsType content_type, const ResourceIdentifier& resource_identifier, bool incognito) const argument
H A Dcontent_settings_origin_identifier_value_map.cc22 // |resource_identifier| in the precedence order of the rules.
60 const ResourceIdentifier& resource_identifier)
62 resource_identifier(resource_identifier) {
69 return (resource_identifier < other.resource_identifier);
93 const ResourceIdentifier& resource_identifier,
95 EntryMapKey key(content_type, resource_identifier);
127 const ResourceIdentifier& resource_identifier) const {
128 EntryMapKey key(content_type, resource_identifier);
58 EntryMapKey( ContentSettingsType content_type, const ResourceIdentifier& resource_identifier) argument
91 GetRuleIterator( ContentSettingsType content_type, const ResourceIdentifier& resource_identifier, base::Lock* lock) const argument
146 SetValue( const ContentSettingsPattern& primary_pattern, const ContentSettingsPattern& secondary_pattern, ContentSettingsType content_type, const ResourceIdentifier& resource_identifier, Value* value) argument
161 DeleteValue( const ContentSettingsPattern& primary_pattern, const ContentSettingsPattern& secondary_pattern, ContentSettingsType content_type, const ResourceIdentifier& resource_identifier) argument
174 DeleteValues( ContentSettingsType content_type, const ResourceIdentifier& resource_identifier) argument
[all...]
H A Dcontent_settings_utils.cc125 const std::string& resource_identifier,
134 provider->GetRuleIterator(content_type, resource_identifier, true));
143 provider->GetRuleIterator(content_type, resource_identifier, false));
173 const std::string& resource_identifier,
176 content_type, resource_identifier,
184 const std::string& resource_identifier,
188 content_type, resource_identifier,
120 GetContentSettingValueAndPatterns( const ProviderInterface* provider, const GURL& primary_url, const GURL& secondary_url, ContentSettingsType content_type, const std::string& resource_identifier, bool include_incognito, ContentSettingsPattern* primary_pattern, ContentSettingsPattern* secondary_pattern) argument
169 GetContentSettingValue(const ProviderInterface* provider, const GURL& primary_url, const GURL& secondary_url, ContentSettingsType content_type, const std::string& resource_identifier, bool include_incognito) argument
180 GetContentSetting(const ProviderInterface* provider, const GURL& primary_url, const GURL& secondary_url, ContentSettingsType content_type, const std::string& resource_identifier, bool include_incognito) argument
H A Dcontent_settings_policy_provider.cc239 const ResourceIdentifier& resource_identifier,
241 return value_map_.GetRuleIterator(content_type, resource_identifier, &lock_);
431 const ResourceIdentifier& resource_identifier,
237 GetRuleIterator( ContentSettingsType content_type, const ResourceIdentifier& resource_identifier, bool incognito) const argument
427 SetWebsiteSetting( const ContentSettingsPattern& primary_pattern, const ContentSettingsPattern& secondary_pattern, ContentSettingsType content_type, const ResourceIdentifier& resource_identifier, Value* value) argument
H A Dcontent_settings_pref_provider.cc126 const ResourceIdentifier& resource_identifier,
137 resource_identifier.empty()) {
155 resource_identifier,
162 resource_identifier);
170 resource_identifier,
175 primary_pattern, secondary_pattern, content_type, resource_identifier);
221 const ResourceIdentifier& resource_identifier,
225 resource_identifier,
227 return value_map_.GetRuleIterator(content_type, resource_identifier, &lock_);
237 const ResourceIdentifier& resource_identifier,
122 SetWebsiteSetting( const ContentSettingsPattern& primary_pattern, const ContentSettingsPattern& secondary_pattern, ContentSettingsType content_type, const ResourceIdentifier& resource_identifier, Value* in_value) argument
219 GetRuleIterator( ContentSettingsType content_type, const ResourceIdentifier& resource_identifier, bool incognito) const argument
233 UpdatePref( const ContentSettingsPattern& primary_pattern, const ContentSettingsPattern& secondary_pattern, ContentSettingsType content_type, const ResourceIdentifier& resource_identifier, const base::Value* value) argument
[all...]
H A Dhost_content_settings_map.cc211 const std::string& resource_identifier) const {
214 primary_url, secondary_url, content_type, resource_identifier, NULL));
220 const std::string& resource_identifier,
223 resource_identifier.empty());
237 resource_identifier,
244 resource_identifier,
270 const std::string& resource_identifier,
274 resource_identifier.empty());
283 resource_identifier,
295 const std::string& resource_identifier,
218 GetSettingsForOneType( ContentSettingsType content_type, const std::string& resource_identifier, ContentSettingsForOneType* settings) const argument
266 SetWebsiteSetting( const ContentSettingsPattern& primary_pattern, const ContentSettingsPattern& secondary_pattern, ContentSettingsType content_type, const std::string& resource_identifier, base::Value* value) argument
291 SetContentSetting( const ContentSettingsPattern& primary_pattern, const ContentSettingsPattern& secondary_pattern, ContentSettingsType content_type, const std::string& resource_identifier, ContentSetting setting) argument
308 AddExceptionForURL( const GURL& primary_url, const GURL& secondary_url, ContentSettingsType content_type, const std::string& resource_identifier, ContentSetting setting) argument
324 resource_identifier, local
330 resource_identifier, local
406 OnContentSettingChanged( const ContentSettingsPattern& primary_pattern, const ContentSettingsPattern& secondary_pattern, ContentSettingsType content_type, std::string resource_identifier) argument
486 AddSettingsForOneType( const content_settings::ProviderInterface* provider, ProviderType provider_type, ContentSettingsType content_type, const std::string& resource_identifier, ContentSettingsForOneType* settings, bool incognito) const argument
553 GetWebsiteSetting( const GURL& primary_url, const GURL& secondary_url, ContentSettingsType content_type, const std::string& resource_identifier, content_settings::SettingInfo* info) const argument
[all...]
/external/chromium/chrome/browser/content_settings/
H A Dcontent_settings_details.h25 const std::string& resource_identifier)
28 resource_identifier_(resource_identifier) {}
40 const std::string& resource_identifier() const { function in class:ContentSettingsDetails
23 ContentSettingsDetails(const ContentSettingsPattern& pattern, ContentSettingsType type, const std::string& resource_identifier) argument
H A Dcontent_settings_mock_provider.cc55 ResourceIdentifier resource_identifier,
62 resource_identifier_(resource_identifier),
73 const ResourceIdentifier& resource_identifier) const {
76 resource_identifier_ == resource_identifier) {
86 const ResourceIdentifier& resource_identifier,
93 resource_identifier_ = resource_identifier;
52 MockProvider(ContentSettingsPattern requesting_url_pattern, ContentSettingsPattern embedding_url_pattern, ContentSettingsType content_type, ResourceIdentifier resource_identifier, ContentSetting setting, bool read_only, bool is_managed) argument
82 SetContentSetting( const ContentSettingsPattern& requesting_url_pattern, const ContentSettingsPattern& embedding_url_pattern, ContentSettingsType content_type, const ResourceIdentifier& resource_identifier, ContentSetting content_setting) argument
H A Dcontent_settings_base_provider.cc71 const ResourceIdentifier& resource_identifier) const {
76 (RequiresResourceIdentifier(content_type) && resource_identifier.empty()))
89 requested_setting(content_type, resource_identifier);
143 const ResourceIdentifier& resource_identifier,
151 content_type, resource_identifier);
234 const ResourceIdentifier& resource_identifier,
141 GetAllContentSettingsRules( ContentSettingsType content_type, const ResourceIdentifier& resource_identifier, Rules* content_setting_rules) const argument
230 UpdateContentSettingsMap( const ContentSettingsPattern& requesting_pattern, const ContentSettingsPattern& embedding_pattern, ContentSettingsType content_type, const ResourceIdentifier& resource_identifier, ContentSetting content_setting) argument
H A Dcontent_settings_mock_provider.h50 ResourceIdentifier resource_identifier,
63 const ResourceIdentifier& resource_identifier) const;
71 const ResourceIdentifier& resource_identifier,
76 const ResourceIdentifier& resource_identifier,
109 void set_resource_identifier(ResourceIdentifier resource_identifier) { argument
110 resource_identifier_ = resource_identifier;
113 ResourceIdentifier resource_identifier() const { function in class:content_settings::MockProvider
74 GetAllContentSettingsRules( ContentSettingsType content_type, const ResourceIdentifier& resource_identifier, Rules* content_setting_rules) const argument
H A Dcontent_settings_notification_provider.cc101 const ResourceIdentifier& resource_identifier) const {
112 const ResourceIdentifier& resource_identifier,
138 const ResourceIdentifier& resource_identifier,
108 SetContentSetting( const ContentSettingsPattern& requesting_url_pattern, const ContentSettingsPattern& embedding_url_pattern, ContentSettingsType content_type, const ResourceIdentifier& resource_identifier, ContentSetting content_setting) argument
136 GetAllContentSettingsRules( ContentSettingsType content_type, const ResourceIdentifier& resource_identifier, Rules* content_setting_rules) const argument
H A Dcontent_settings_policy_provider.cc389 const ResourceIdentifier& resource_identifier,
397 const ResourceIdentifier& resource_identifier) const {
385 SetContentSetting( const ContentSettingsPattern& requesting_pattern, const ContentSettingsPattern& embedding_pattern, ContentSettingsType content_type, const ResourceIdentifier& resource_identifier, ContentSetting content_setting) argument
H A Dhost_content_settings_map.cc152 const std::string& resource_identifier) const {
155 resource_identifier);
164 const std::string& resource_identifier) const {
175 url, url, content_type, resource_identifier);
215 const std::string& resource_identifier,
221 // resource_identifier from the content settings providers.
232 content_type, resource_identifier, &rules);
262 const std::string& resource_identifier,
268 pattern, pattern, content_type, resource_identifier, setting);
275 const std::string& resource_identifier,
213 GetSettingsForOneType( ContentSettingsType content_type, const std::string& resource_identifier, SettingsForOneType* settings) const argument
259 SetContentSetting( const ContentSettingsPattern& pattern, ContentSettingsType content_type, const std::string& resource_identifier, ContentSetting setting) argument
272 AddExceptionForURL( const GURL& url, ContentSettingsType content_type, const std::string& resource_identifier, ContentSetting setting) argument
281 resource_identifier, local
285 resource_identifier, local
[all...]
/external/chromium_org/chrome/browser/extensions/api/content_settings/
H A Dcontent_settings_api.cc122 std::string resource_identifier; local
123 if (params->details.resource_identifier.get())
124 resource_identifier = params->details.resource_identifier->id;
159 resource_identifier);
199 std::string resource_identifier; local
200 if (params->details.resource_identifier.get())
201 resource_identifier = params->details.resource_identifier->id;
247 resource_identifier, settin local
[all...]
H A Dcontent_settings_store_unittest.cc52 const std::string& resource_identifier,
55 store->GetRuleIterator(content_type, resource_identifier, incognito));
65 const std::string& resource_identifier,
70 store->GetRuleIterator(content_type, resource_identifier, incognito));
48 GetContentSettingFromStore( const ContentSettingsStore* store, const GURL& primary_url, const GURL& secondary_url, ContentSettingsType content_type, const std::string& resource_identifier, bool incognito) argument
62 GetSettingsForOneTypeFromStore( const ContentSettingsStore* store, ContentSettingsType content_type, const std::string& resource_identifier, bool incognito, std::vector<content_settings::Rule>* rules) argument
H A Dcontent_settings_store.cc257 it->first.resource_identifier,
270 it->first.resource_identifier);
311 std::string resource_identifier; local
312 dict->GetString(keys::kResourceIdentifierKey, &resource_identifier);
325 resource_identifier,
/external/chromium/chrome/browser/tab_contents/
H A Dtab_specific_content_settings.cc75 const std::string& resource_identifier) {
78 blocked_resources_[content_type]->insert(resource_identifier);
83 const std::string& resource_identifier) {
87 if (!resource_identifier.empty())
88 AddBlockedResource(type, resource_identifier);
73 AddBlockedResource( ContentSettingsType content_type, const std::string& resource_identifier) argument
81 OnContentBlocked( ContentSettingsType type, const std::string& resource_identifier) argument
/external/chromium_org/chrome/renderer/
H A Dcontent_settings_observer.cc100 const std::string& resource_identifier) {
101 // Always send a message when |resource_identifier| is not empty, to tell the
105 if (!content_blocked_[settings_type] || !resource_identifier.empty()) {
108 resource_identifier));
98 DidBlockContentType( ContentSettingsType settings_type, const std::string& resource_identifier) argument

Completed in 360 milliseconds

12