HomeSort by relevance Sort by last modified time
    Searched refs:content_type (Results 1 - 25 of 219) sorted by null

1 2 3 4 5 6 7 8 9

  /external/chromium_org/chrome/tools/test/
generate_mime_tests.pl 59 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/renderer_context_menu/
context_menu_content_type_unittest.cc 69 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(Create(web_contents()
    [all...]
  /external/chromium_org/components/content_settings/core/browser/
content_settings_provider.h 39 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;
content_settings_observer.h 20 ContentSettingsType content_type,
26 ContentSettingsType content_type) {}
content_settings_origin_identifier_value_map.cc 20 // 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_identifier)
    [all...]
content_settings_origin_identifier_value_map.h 30 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...]
content_settings_observable_provider.cc 30 ContentSettingsType content_type,
37 content_type,
  /external/chromium_org/chrome/browser/content_settings/
content_settings_mock_provider.cc 19 ContentSettingsType content_type,
22 return value_map_.GetRuleIterator(content_type, resource_identifier, NULL);
28 ContentSettingsType content_type,
36 content_type,
content_settings_override_provider.h 34 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;
content_settings_policy_provider.h 35 ContentSettingsType content_type,
42 ContentSettingsType content_type,
47 ContentSettingsType content_type) OVERRIDE;
59 void UpdateManagedDefaultSetting(ContentSettingsType content_type);
68 void ReadManagedContentSettingsTypes(ContentSettingsType content_type);
host_content_settings_map.cc 69 // Returns true if the |content_type| supports a resource identifier.
71 bool SupportsResourceIdentifier(ContentSettingsType content_type) {
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_identifier, NULL)
244 content_type, local
339 content_type); local
350 content_type); local
464 content_type, local
470 content_type, local
    [all...]
content_settings_custom_extension_provider.h 28 ContentSettingsType content_type,
35 ContentSettingsType content_type,
39 virtual void ClearAllContentSettingsRules(ContentSettingsType content_type)
content_settings_mock_provider.h 26 ContentSettingsType content_type,
35 ContentSettingsType content_type,
40 ContentSettingsType content_type) OVERRIDE {}
host_content_settings_map.h 78 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...]
content_settings_override_provider.cc 67 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,
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) const
    [all...]
content_settings_pref_provider.h 43 ContentSettingsType content_type,
50 ContentSettingsType content_type,
55 ContentSettingsType content_type) OVERRIDE;
62 ContentSettingsType content_type);
66 ContentSettingsType content_type);
88 ContentSettingsType content_type,
content_settings_custom_extension_provider.cc 25 ContentSettingsType content_type,
28 return extensions_settings_->GetRuleIterator(content_type,
36 ContentSettingsType content_type,
content_settings_default_provider.h 39 ContentSettingsType content_type,
46 ContentSettingsType content_type,
51 ContentSettingsType content_type) OVERRIDE;
content_settings_internal_extension_provider.h 34 ContentSettingsType content_type,
41 ContentSettingsType content_type,
45 virtual void ClearAllContentSettingsRules(ContentSettingsType content_type)
mock_settings_observer.cc 22 ContentSettingsType content_type,
25 primary_pattern, secondary_pattern, content_type, resource_identifier);
content_settings_mock_observer.h 24 ContentSettingsType content_type,
  /external/chromium_org/chrome/browser/sync_file_system/drive_backend/
drive_uploader_wrapper.cc 20 const std::string& content_type,
27 content_type,
37 const std::string& content_type,
45 content_type,
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/net/
file_uploader.py 49 (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/net/test/embedded_test_server/
http_response.h 46 const std::string& content_type() const { return content_type_; } function in class:net::test_server::BasicHttpResponse
47 void set_content_type(const std::string& content_type) {
48 content_type_ = content_type;
  /external/chromium_org/chrome/browser/extensions/api/content_settings/
content_settings_api.cc 43 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
244 secondary_pattern, content_type, local
250 ContentSettingsType content_type; local
    [all...]

Completed in 1267 milliseconds

1 2 3 4 5 6 7 8 9