Searched refs:content_type (Results 1 - 25 of 236) sorted by relevance

12345678910

/external/chromium_org/chrome/browser/renderer_context_menu/
H A Dcontext_menu_content_type_unittest.cc69 scoped_ptr<ContextMenuContentType> content_type(Create(web_contents(),
71 EXPECT_TRUE(content_type->SupportsGroup(
73 EXPECT_TRUE(content_type->SupportsGroup(
75 EXPECT_FALSE(content_type->SupportsGroup(
81 scoped_ptr<ContextMenuContentType> content_type(Create(web_contents(),
83 EXPECT_FALSE(content_type->SupportsGroup(
85 EXPECT_TRUE(content_type->SupportsGroup(
87 EXPECT_FALSE(content_type->SupportsGroup(
89 EXPECT_TRUE(content_type->SupportsGroup(
95 scoped_ptr<ContextMenuContentType> content_type(Creat
[all...]
/external/chromium_org/chrome/tools/test/
H A Dgenerate_mime_tests.pl59 my $content_type;
71 my @content_type = ("NULL",
211 foreach $content_type ( @content_type) {
212 my $infile = join "", "iframe/", $content_type, ".html";
217 print OUT "This HTML is used to test HTTP content-type \"$content_type\"".
233 $source = join "", $root, "type=", $content_type, "&", $parameter;
236 "HTTP content-type is set to \"$content_type\" .<br> Expected : This ",
250 foreach $content_type ( @content_type) {
[all...]
/external/chromium_org/chrome/browser/content_settings/
H A Dcontent_settings_mock_provider.cc19 ContentSettingsType content_type,
22 return value_map_.GetRuleIterator(content_type, resource_identifier, NULL);
28 ContentSettingsType content_type,
36 content_type,
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_override_provider.h34 ContentSettingsType content_type,
39 ContentSettingsType content_type) OVERRIDE;
44 ContentSettingsType content_type,
50 // Sets if a given |content_type| is |enabled|.
51 void SetOverrideSetting(ContentSettingsType content_type, bool enabled);
53 // Returns if |content_type| is enabled. If it is not enabled, the content
57 bool IsEnabled(ContentSettingsType content_type) const;
H A Dhost_content_settings_map.cc69 // Returns true if the |content_type| supports a resource identifier.
71 bool SupportsResourceIdentifier(ContentSettingsType content_type) { argument
72 return content_type == CONTENT_SETTINGS_TYPE_PLUGINS;
147 ContentSettingsType content_type,
150 provider->GetRuleIterator(content_type, std::string(), false));
164 ContentSettingsType content_type,
177 GetDefaultContentSettingFromProvider(content_type, provider->second);
191 ContentSettingsType content_type,
193 DCHECK(!ContentTypeHasCompoundValue(content_type));
195 primary_url, secondary_url, content_type, resource_identifie
146 GetDefaultContentSettingFromProvider( ContentSettingsType content_type, content_settings::ProviderInterface* provider) const argument
163 GetDefaultContentSetting( ContentSettingsType content_type, std::string* provider_id) const argument
188 GetContentSetting( const GURL& primary_url, const GURL& secondary_url, ContentSettingsType content_type, const std::string& resource_identifier) const argument
199 GetSettingsForOneType( ContentSettingsType content_type, const std::string& resource_identifier, ContentSettingsForOneType* settings) const argument
233 SetDefaultContentSetting( ContentSettingsType content_type, ContentSetting setting) argument
244 content_type, local
249 SetWebsiteSetting( const ContentSettingsPattern& primary_pattern, const ContentSettingsPattern& secondary_pattern, ContentSettingsType content_type, const std::string& resource_identifier, base::Value* value) argument
274 SetNarrowestWebsiteSetting( const ContentSettingsPattern& primary_pattern, const ContentSettingsPattern& secondary_pattern, ContentSettingsType content_type, const std::string& resource_identifier, ContentSetting setting, content_settings::SettingInfo existing_info) argument
302 SetContentSetting( const ContentSettingsPattern& primary_pattern, const ContentSettingsPattern& secondary_pattern, ContentSettingsType content_type, const std::string& resource_identifier, ContentSetting setting) argument
326 GetContentSettingAndMaybeUpdateLastUsage( const GURL& primary_url, const GURL& secondary_url, ContentSettingsType content_type, const std::string& resource_identifier) argument
339 content_type); local
344 UpdateLastUsage(const GURL& primary_url, const GURL& secondary_url, ContentSettingsType content_type) argument
350 content_type); local
353 UpdateLastUsageByPattern( const ContentSettingsPattern& primary_pattern, const ContentSettingsPattern& secondary_pattern, ContentSettingsType content_type) argument
368 GetLastUsage( const GURL& primary_url, const GURL& secondary_url, ContentSettingsType content_type) argument
378 GetLastUsageByPattern( const ContentSettingsPattern& primary_pattern, const ContentSettingsPattern& secondary_pattern, ContentSettingsType content_type) argument
388 GetContentSettingWithoutOverride( const GURL& primary_url, const GURL& secondary_url, ContentSettingsType content_type, const std::string& resource_identifier) argument
399 GetWebsiteSettingWithoutOverride( const GURL& primary_url, const GURL& secondary_url, ContentSettingsType content_type, const std::string& resource_identifier, content_settings::SettingInfo* info) const argument
413 SetContentSettingOverride( ContentSettingsType content_type, bool is_enabled) argument
424 GetContentSettingOverride( ContentSettingsType content_type) argument
450 AddExceptionForURL( const GURL& primary_url, const GURL& secondary_url, ContentSettingsType content_type, ContentSetting setting) argument
464 content_type, local
470 content_type, local
475 ClearSettingsForOneType( ContentSettingsType content_type) argument
492 IsSettingAllowedForType( PrefService* prefs, ContentSetting setting, ContentSettingsType content_type) argument
561 OnContentSettingChanged( const ContentSettingsPattern& primary_pattern, const ContentSettingsPattern& secondary_pattern, ContentSettingsType content_type, std::string resource_identifier) argument
639 AddSettingsForOneType( const content_settings::ProviderInterface* provider, ProviderType provider_type, ContentSettingsType content_type, const std::string& resource_identifier, ContentSettingsForOneType* settings, bool incognito) const argument
682 ShouldAllowAllContent( const GURL& primary_url, const GURL& secondary_url, ContentSettingsType content_type) argument
720 GetWebsiteSetting( const GURL& primary_url, const GURL& secondary_url, ContentSettingsType content_type, const std::string& resource_identifier, content_settings::SettingInfo* info) const argument
765 GetWebsiteSettingInternal( const GURL& primary_url, const GURL& secondary_url, ContentSettingsType content_type, const std::string& resource_identifier, content_settings::SettingInfo* info, bool get_override) const argument
[all...]
H A Dhost_content_settings_map.h78 ContentSetting GetDefaultContentSetting(ContentSettingsType content_type,
91 ContentSettingsType content_type,
109 ContentSettingsType content_type,
118 void GetSettingsForOneType(ContentSettingsType content_type,
126 void SetDefaultContentSetting(ContentSettingsType content_type,
129 // Sets the content |setting| for the given patterns, |content_type| and
140 ContentSettingsType content_type,
144 // Sets the |value| for the given patterns, |content_type| and
151 ContentSettingsType content_type,
160 ContentSettingsType content_type,
[all...]
H A Dcontent_settings_override_provider.cc67 ContentSettingsType content_type,
72 return new OverrideRuleIterator(allowed_settings_[content_type]);
78 ContentSettingsType content_type) {
84 ContentSettingsType content_type,
95 void OverrideProvider::SetOverrideSetting(ContentSettingsType content_type, argument
107 allowed_settings_[content_type] = true;
109 GetTypeName(content_type), NULL);
111 allowed_settings_[content_type] = false;
113 GetTypeName(content_type), new base::FundamentalValue(true));
117 bool OverrideProvider::IsEnabled(ContentSettingsType content_type) cons
66 GetRuleIterator( ContentSettingsType content_type, const ResourceIdentifier& resource_identifier, bool incognito) const argument
77 ClearAllContentSettingsRules( ContentSettingsType content_type) argument
81 SetWebsiteSetting( const ContentSettingsPattern& primary_pattern, const ContentSettingsPattern& secondary_pattern, ContentSettingsType content_type, const ResourceIdentifier& resource_identifier, base::Value* in_value) argument
[all...]
H A Dcontent_settings_policy_provider.h35 ContentSettingsType content_type,
42 ContentSettingsType content_type,
47 ContentSettingsType content_type) OVERRIDE;
59 void UpdateManagedDefaultSetting(ContentSettingsType content_type);
68 void ReadManagedContentSettingsTypes(ContentSettingsType content_type);
H A Dcontent_settings_custom_extension_provider.cc25 ContentSettingsType content_type,
28 return extensions_settings_->GetRuleIterator(content_type,
36 ContentSettingsType content_type,
24 GetRuleIterator( ContentSettingsType content_type, const ResourceIdentifier& resource_identifier, bool incognito) const argument
33 SetWebsiteSetting( const ContentSettingsPattern& primary_pattern, const ContentSettingsPattern& secondary_pattern, ContentSettingsType content_type, const ResourceIdentifier& resource_identifier, base::Value* value) argument
H A Dcontent_settings_custom_extension_provider.h28 ContentSettingsType content_type,
35 ContentSettingsType content_type,
39 virtual void ClearAllContentSettingsRules(ContentSettingsType content_type)
H A Dcontent_settings_mock_provider.h26 ContentSettingsType content_type,
35 ContentSettingsType content_type,
40 ContentSettingsType content_type) OVERRIDE {}
H A Dcontent_settings_pref_provider.h43 ContentSettingsType content_type,
50 ContentSettingsType content_type,
55 ContentSettingsType content_type) OVERRIDE;
62 ContentSettingsType content_type);
66 ContentSettingsType content_type);
88 ContentSettingsType content_type,
H A Dmock_settings_observer.cc22 ContentSettingsType content_type,
25 primary_pattern, secondary_pattern, content_type, resource_identifier);
19 OnContentSettingChanged( const ContentSettingsPattern& primary_pattern, const ContentSettingsPattern& secondary_pattern, ContentSettingsType content_type, std::string resource_identifier) argument
H A Dcontent_settings_mock_observer.h24 ContentSettingsType content_type,
/external/chromium_org/components/content_settings/core/browser/
H A Dcontent_settings_observer.h20 ContentSettingsType content_type,
26 ContentSettingsType content_type) {}
23 OnContentSettingUsed( const ContentSettingsPattern& primary_pattern, const ContentSettingsPattern& secondary_pattern, ContentSettingsType content_type) argument
H A Dcontent_settings_provider.h39 ContentSettingsType content_type,
44 // |primary_pattern|, |secondary_pattern|, |content_type| tuple. If the
54 ContentSettingsType content_type,
58 // Resets all content settings for the given |content_type| and empty resource
64 ContentSettingsType content_type) = 0;
H A Dcontent_settings_origin_identifier_value_map.cc20 // This iterator is used for iterating the rules for |content_type| and
58 ContentSettingsType content_type,
60 : content_type(content_type),
66 if (content_type != other.content_type)
67 return content_type < other.content_type;
91 ContentSettingsType content_type,
94 EntryMapKey key(content_type, resource_identifie
57 EntryMapKey( ContentSettingsType content_type, const ResourceIdentifier& resource_identifier) argument
90 GetRuleIterator( ContentSettingsType content_type, const ResourceIdentifier& resource_identifier, base::Lock* lock) const argument
122 GetValue( const GURL& primary_url, const GURL& secondary_url, ContentSettingsType content_type, const ResourceIdentifier& resource_identifier) const argument
145 SetValue( const ContentSettingsPattern& primary_pattern, const ContentSettingsPattern& secondary_pattern, ContentSettingsType content_type, const ResourceIdentifier& resource_identifier, base::Value* value) argument
160 DeleteValue( const ContentSettingsPattern& primary_pattern, const ContentSettingsPattern& secondary_pattern, ContentSettingsType content_type, const ResourceIdentifier& resource_identifier) argument
173 DeleteValues( ContentSettingsType content_type, const ResourceIdentifier& resource_identifier) argument
[all...]
H A Dcontent_settings_origin_identifier_value_map.h30 ContentSettingsType content_type; member in struct:content_settings::OriginIdentifierValueMap::EntryMapKey
32 EntryMapKey(ContentSettingsType content_type,
70 // Returns an iterator for reading the rules for |content_type| and
76 RuleIterator* GetRuleIterator(ContentSettingsType content_type,
84 // |secondary_pattern|, |content_type|, |resource_identifier| tuple. If
89 ContentSettingsType content_type,
93 // |content_type|, |resource_identifier| tuple. The method takes the ownership
98 ContentSettingsType content_type,
103 // |secondary_pattern|, |content_type|, |resource_identifier| tuple.
107 ContentSettingsType content_type,
[all...]
H A Dcontent_settings_observable_provider.cc30 ContentSettingsType content_type,
37 content_type,
27 NotifyObservers( const ContentSettingsPattern& primary_pattern, const ContentSettingsPattern& secondary_pattern, ContentSettingsType content_type, const std::string& resource_identifier) argument
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
H A Ddrive_uploader_wrapper.cc20 const std::string& content_type,
27 content_type,
37 const std::string& content_type,
45 content_type,
17 UploadExistingFile( const std::string& resource_id, const base::FilePath& local_file_path, const std::string& content_type, const drive::DriveUploaderInterface::UploadExistingFileOptions& options, const drive::UploadCompletionCallback& callback) argument
33 UploadNewFile( const std::string& parent_resource_id, const base::FilePath& local_file_path, const std::string& title, const std::string& content_type, const drive::DriveUploaderInterface::UploadNewFileOptions& options, const drive::UploadCompletionCallback& callback) argument
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/net/
H A Dfile_uploader.py49 (content_type, body) ready for httplib.HTTP instance.
78 content_type = 'multipart/form-data; boundary=%s' % BOUNDARY
79 return content_type, body
87 def upload_single_text_file(self, filesystem, content_type, filename):
88 return self._upload_data(content_type, filesystem.read_text_file(filename))
96 content_type, data = _encode_multipart_form_data(attrs, file_objs)
97 return self._upload_data(content_type, data)
99 def _upload_data(self, content_type, data):
104 request = urllib2.Request(self._url, data, {"Content-Type": content_type})
/external/chromium_org/chrome/browser/extensions/api/content_settings/
H A Dcontent_settings_api.cc43 ContentSettingsType* content_type) {
50 *content_type =
53 return *content_type != CONTENT_SETTINGS_TYPE_DEFAULT;
64 ContentSettingsType content_type; local
65 EXTENSION_FUNCTION_VALIDATE(RemoveContentType(args_.get(), &content_type));
98 ContentSettingsType content_type; local
99 EXTENSION_FUNCTION_VALIDATE(RemoveContentType(args_.get(), &content_type));
152 if (content_type == CONTENT_SETTINGS_TYPE_COOKIES) {
158 setting = map->GetContentSetting(primary_url, secondary_url, content_type,
172 ContentSettingsType content_type; local
42 RemoveContentType(base::ListValue* args, ContentSettingsType* content_type) argument
244 secondary_pattern, content_type, local
250 ContentSettingsType content_type; local
[all...]
H A Dcontent_settings_helpers.h29 const std::string& content_type);
/external/chromium_org/net/server/
H A Dhttp_server_response_info.cc41 const std::string& content_type) {
44 SetContentHeaders(body.length(), content_type);
49 const std::string& content_type) {
52 AddHeader(HttpRequestHeaders::kContentType, content_type);
40 SetBody(const std::string& body, const std::string& content_type) argument
47 SetContentHeaders( size_t content_length, const std::string& content_type) argument
/external/chromium_org/third_party/webrtc/base/
H A Dmultipart.h32 void GetContentType(std::string* content_type);
34 // Note: If content_disposition and/or content_type are the empty string,
38 const std::string& content_type);
41 const std::string& content_type);
47 const std::string& content_type) const;

Completed in 614 milliseconds

12345678910