Searched refs:content_type (Results 1 - 25 of 231) 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_provider.h40 ContentSettingsType content_type,
45 // |primary_pattern|, |secondary_pattern|, |content_type| tuple. If the
55 ContentSettingsType content_type,
59 // Resets all content settings for the given |content_type| and empty resource
65 ContentSettingsType content_type) = 0;
H A Dcontent_settings_origin_identifier_value_map.cc21 // This iterator is used for iterating the rules for |content_type| and
59 ContentSettingsType content_type,
61 : content_type(content_type),
67 if (content_type != other.content_type)
68 return content_type < other.content_type;
92 ContentSettingsType content_type,
95 EntryMapKey key(content_type, resource_identifie
58 EntryMapKey( ContentSettingsType content_type, const ResourceIdentifier& resource_identifier) argument
91 GetRuleIterator( ContentSettingsType content_type, const ResourceIdentifier& resource_identifier, base::Lock* lock) const argument
123 GetValue( const GURL& primary_url, const GURL& secondary_url, ContentSettingsType content_type, const ResourceIdentifier& resource_identifier) const argument
146 SetValue( const ContentSettingsPattern& primary_pattern, const ContentSettingsPattern& secondary_pattern, ContentSettingsType content_type, const ResourceIdentifier& resource_identifier, base::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 Dhost_content_settings_map.h70 ContentSetting GetDefaultContentSetting(ContentSettingsType content_type,
83 ContentSettingsType content_type,
102 ContentSettingsType content_type,
111 void GetSettingsForOneType(ContentSettingsType content_type,
119 void SetDefaultContentSetting(ContentSettingsType content_type,
122 // Sets the content |setting| for the given patterns, |content_type| and
133 ContentSettingsType content_type,
137 // Sets the |value| for the given patterns, |content_type| and
144 ContentSettingsType content_type,
154 ContentSettingsType content_type,
[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_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 Dhost_content_settings_map.cc72 // Returns true if the |content_type| supports a resource identifier.
74 bool SupportsResourceIdentifier(ContentSettingsType content_type) { argument
75 return content_type == CONTENT_SETTINGS_TYPE_PLUGINS;
166 ContentSettingsType content_type,
169 provider->GetRuleIterator(content_type, std::string(), false));
183 ContentSettingsType content_type,
195 GetDefaultContentSettingFromProvider(content_type, provider->second);
213 ContentSettingsType content_type,
215 DCHECK(!ContentTypeHasCompoundValue(content_type));
217 primary_url, secondary_url, content_type, resource_identifie
165 GetDefaultContentSettingFromProvider( ContentSettingsType content_type, content_settings::ProviderInterface* provider) const argument
182 GetDefaultContentSetting( ContentSettingsType content_type, std::string* provider_id) const argument
210 GetContentSetting( const GURL& primary_url, const GURL& secondary_url, ContentSettingsType content_type, const std::string& resource_identifier) const argument
221 GetSettingsForOneType( ContentSettingsType content_type, const std::string& resource_identifier, ContentSettingsForOneType* settings) const argument
253 SetDefaultContentSetting( ContentSettingsType content_type, ContentSetting setting) argument
264 content_type, local
269 SetWebsiteSetting( const ContentSettingsPattern& primary_pattern, const ContentSettingsPattern& secondary_pattern, ContentSettingsType content_type, const std::string& resource_identifier, base::Value* value) argument
294 SetContentSetting( const ContentSettingsPattern& primary_pattern, const ContentSettingsPattern& secondary_pattern, ContentSettingsType content_type, const std::string& resource_identifier, ContentSetting setting) argument
311 AddExceptionForURL( const GURL& primary_url, const GURL& secondary_url, ContentSettingsType content_type, ContentSetting setting) argument
325 content_type, local
331 content_type, local
336 ClearSettingsForOneType( ContentSettingsType content_type) argument
353 IsSettingAllowedForType( PrefService* prefs, ContentSetting setting, ContentSettingsType content_type) argument
419 OnContentSettingChanged( const ContentSettingsPattern& primary_pattern, const ContentSettingsPattern& secondary_pattern, ContentSettingsType content_type, std::string resource_identifier) argument
500 AddSettingsForOneType( const content_settings::ProviderInterface* provider, ProviderType provider_type, ContentSettingsType content_type, const std::string& resource_identifier, ContentSettingsForOneType* settings, bool incognito) const argument
543 ShouldAllowAllContent( const GURL& primary_url, const GURL& secondary_url, ContentSettingsType content_type) argument
579 GetWebsiteSetting( const GURL& primary_url, const GURL& secondary_url, ContentSettingsType content_type, const std::string& resource_identifier, content_settings::SettingInfo* info) const argument
[all...]
H A Dcontent_settings_custom_extension_provider.cc26 ContentSettingsType content_type,
29 return extensions_settings_->GetRuleIterator(content_type,
37 ContentSettingsType content_type,
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, 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_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
H A Dcontent_settings_mock_observer.h23 ContentSettingsType content_type,
H A Dcontent_settings_observer.h20 ContentSettingsType content_type,
H A Dcontent_settings_pref_provider.h42 ContentSettingsType content_type,
49 ContentSettingsType content_type,
54 ContentSettingsType content_type) OVERRIDE;
75 ContentSettingsType content_type,
H A Dcontent_settings_pref_provider.cc44 ContentSetting FixObsoleteCookiePromptMode(ContentSettingsType content_type, argument
46 if (content_type == CONTENT_SETTINGS_TYPE_COOKIES &&
57 bool GetResourceTypeName(ContentSettingsType content_type, argument
59 if (content_type == CONTENT_SETTINGS_TYPE_PLUGINS) {
125 ContentSettingsType content_type,
154 content_type,
161 content_type,
169 content_type,
175 primary_pattern, secondary_pattern, content_type, resource_identifier);
181 ContentSettingsType content_type) {
122 SetWebsiteSetting( const ContentSettingsPattern& primary_pattern, const ContentSettingsPattern& secondary_pattern, ContentSettingsType content_type, const ResourceIdentifier& resource_identifier, base::Value* in_value) argument
180 ClearAllContentSettingsRules( ContentSettingsType content_type) argument
211 content_type, local
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
413 ContentSettingsType content_type = static_cast<ContentSettingsType>(i); local
[all...]
/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
H A Ddrive_uploader_on_worker.cc35 const std::string& content_type,
48 content_type,
61 const std::string& content_type,
73 content_type,
86 const std::string& content_type,
31 UploadNewFile( const std::string& parent_resource_id, const base::FilePath& local_file_path, const std::string& title, const std::string& content_type, const UploadNewFileOptions& options, const drive::UploadCompletionCallback& callback, const google_apis::ProgressCallback& progress_callback) argument
58 UploadExistingFile( const std::string& resource_id, const base::FilePath& local_file_path, const std::string& content_type, const UploadExistingFileOptions& options, const drive::UploadCompletionCallback& callback, const google_apis::ProgressCallback& progress_callback) argument
83 ResumeUploadFile( const GURL& upload_location, const base::FilePath& local_file_path, const std::string& content_type, const drive::UploadCompletionCallback& callback, const google_apis::ProgressCallback& progress_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.h28 const std::string& content_type);
/external/chromium_org/third_party/libjingle/source/talk/base/
H A Dmultipart.h47 void GetContentType(std::string* content_type);
49 // Note: If content_disposition and/or content_type are the empty string,
53 const std::string& content_type);
56 const std::string& content_type);
62 const std::string& content_type) const;
/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;
/external/bison/src/
H A Dsymlist.c37 res->content_type = SYMLIST_SYMBOL;
68 res->content_type = SYMLIST_TYPE;
87 res->content_type = SYMLIST_DEFAULT_TAGGED;
105 res->content_type = SYMLIST_DEFAULT_TAGLESS;
115 | Print this list, for which every content_type must be SYMLIST_SYMBOL. |
169 l && !(l->content_type == SYMLIST_SYMBOL && l->content.sym == NULL);
192 || (l->content_type == SYMLIST_SYMBOL && l->content.sym == NULL))
214 aver (l->content_type == SYMLIST_SYMBOL);
222 (node->content_type == SYMLIST_SYMBOL && !(node->content.sym));
228 switch (node->content_type)
[all...]

Completed in 891 milliseconds

12345678910