Searched defs:content_type (Results 1 - 25 of 58) sorted by relevance

123

/external/chromium/net/tools/fetch/
H A Dhttp_server_response_info.h28 std::string content_type; member in class:HttpServerResponseInfo
/external/chromium/third_party/libjingle/source/talk/p2p/base/
H A Dtransportchannelimpl.h46 TransportChannelImpl(const std::string& name, const std::string& content_type) argument
47 : TransportChannel(name, content_type) {}
H A Dtransportchannel.h44 TransportChannel(const std::string& name, const std::string &content_type) argument
45 : name_(name), content_type_(content_type),
51 const std::string& content_type() const { return content_type_; } function in class:cricket::TransportChannel
H A Drawtransport.cc118 const std::string& name, const std::string& content_type) {
119 return new RawTransportChannel(name, content_type, this,
117 CreateTransportChannel( const std::string& name, const std::string& content_type) argument
H A Dtransportchannelproxy.cc36 const std::string &content_type)
37 : TransportChannel(name, content_type), impl_(NULL) {
35 TransportChannelProxy(const std::string& name, const std::string &content_type) argument
H A Dp2ptransport.cc193 const std::string& name, const std::string& content_type) {
194 return new P2PTransportChannel(name, content_type, this, port_allocator());
192 CreateTransportChannel( const std::string& name, const std::string& content_type) argument
H A Drawtransportchannel.cc55 const std::string &content_type,
59 : TransportChannelImpl(name, content_type),
98 allocator_session_ = allocator_->CreateSession(name(), content_type());
54 RawTransportChannel(const std::string &name, const std::string &content_type, RawTransport* transport, talk_base::Thread *worker_thread, PortAllocator *allocator) argument
H A Dsessionmanager.cc60 void SessionManager::AddClient(const std::string& content_type, argument
62 ASSERT(client_map_.find(content_type) == client_map_.end());
63 client_map_[content_type] = client;
66 void SessionManager::RemoveClient(const std::string& content_type) { argument
67 ClientMap::iterator iter = client_map_.find(content_type);
72 SessionClient* SessionManager::GetClient(const std::string& content_type) { argument
73 ClientMap::iterator iter = client_map_.find(content_type);
78 const std::string& content_type) {
81 content_type, false);
86 const std::string& sid, const std::string& content_type,
77 CreateSession(const std::string& local_name, const std::string& content_type) argument
84 CreateSession( const std::string& local_name, const std::string& initiator_name, const std::string& sid, const std::string& content_type, bool received_initiate) argument
168 std::string content_type; local
[all...]
/external/chromium/chrome/browser/content_settings/
H A Dcontent_settings_mock_provider.cc10 ContentSettingsType content_type,
14 : content_type_(content_type),
24 ContentSettingsType content_type) const {
25 return content_type == content_type_ ? setting_ : CONTENT_SETTING_DEFAULT;
29 ContentSettingsType content_type,
31 if (can_override_ && content_type == content_type_)
36 ContentSettingsType content_type) const {
37 return content_type == content_type_ && is_managed_;
54 ContentSettingsType content_type,
61 content_type_(content_type),
9 MockDefaultProvider( ContentSettingsType content_type, ContentSetting setting, bool is_managed, bool can_override) argument
28 UpdateDefaultSetting( ContentSettingsType content_type, ContentSetting setting) argument
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
69 GetContentSetting( const GURL& requesting_url, const GURL& embedding_url, ContentSettingsType content_type, const ResourceIdentifier& resource_identifier) const argument
82 SetContentSetting( const ContentSettingsPattern& requesting_url_pattern, const ContentSettingsPattern& embedding_url_pattern, ContentSettingsType content_type, const ResourceIdentifier& resource_identifier, ContentSetting content_setting) argument
[all...]
H A Dcontent_settings_base_provider.cc49 ContentSettingsType content_type) const {
52 return kRequiresResourceIdentifier[content_type];
70 ContentSettingsType content_type,
75 if (!RequiresResourceIdentifier(content_type) ||
76 (RequiresResourceIdentifier(content_type) && resource_identifier.empty()))
77 return GetNonDefaultContentSettings(requesting_url).settings[content_type];
89 requested_setting(content_type, resource_identifier);
142 ContentSettingsType content_type,
151 content_type, resource_identifier);
157 if (RequiresResourceIdentifier(content_type)) {
67 GetContentSetting( const GURL& requesting_url, const GURL& embedding_url, ContentSettingsType content_type, const ResourceIdentifier& resource_identifier) const argument
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
244 ClickToPlayFixup(ContentSettingsType content_type, ContentSetting setting) argument
[all...]
H A Dcontent_settings_mock_provider.h20 MockDefaultProvider(ContentSettingsType content_type,
28 ContentSettingsType content_type) const;
29 virtual void UpdateDefaultSetting(ContentSettingsType content_type,
32 virtual bool DefaultSettingIsManaged(ContentSettingsType content_type) const;
49 ContentSettingsType content_type,
62 ContentSettingsType content_type,
70 ContentSettingsType content_type,
75 ContentSettingsType content_type,
80 ContentSettingsType content_type) {}
101 void set_content_type(ContentSettingsType content_type) { argument
74 GetAllContentSettingsRules( ContentSettingsType content_type, const ResourceIdentifier& resource_identifier, Rules* content_setting_rules) const argument
79 ClearAllContentSettingsRules( ContentSettingsType content_type) argument
105 ContentSettingsType content_type() const { function in class:content_settings::MockProvider
[all...]
H A Dcontent_settings_notification_provider.cc93 ContentSettingsType content_type) {
100 ContentSettingsType content_type,
102 if (content_type != CONTENT_SETTINGS_TYPE_NOTIFICATIONS)
111 ContentSettingsType content_type,
114 if (content_type != CONTENT_SETTINGS_TYPE_NOTIFICATIONS)
137 ContentSettingsType content_type,
140 if (content_type != CONTENT_SETTINGS_TYPE_NOTIFICATIONS)
169 ContentSettingsType content_type) {
170 if (content_type == CONTENT_SETTINGS_TYPE_NOTIFICATIONS)
92 ContentSettingsTypeIsManaged( ContentSettingsType content_type) argument
97 GetContentSetting( const GURL& requesting_url, const GURL& embedding_url, ContentSettingsType content_type, const ResourceIdentifier& resource_identifier) const argument
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
168 ClearAllContentSettingsRules( ContentSettingsType content_type) argument
H A Dcontent_settings_policy_provider.cc44 ContentSettingsType content_type; member in struct:__anon1179::PrefsForManagedContentSettingsMapEntry
133 ContentSettingsType content_type) const {
135 return managed_default_content_settings_.settings[content_type];
139 ContentSettingsType content_type,
144 ContentSettingsType content_type) const {
146 if (managed_default_content_settings_.settings[content_type] !=
284 ContentSettingsType content_type) {
286 if (kPrefToManageType[content_type] == NULL) {
287 content_type_is_managed_[content_type] = false;
289 content_type_is_managed_[content_type]
138 UpdateDefaultSetting( ContentSettingsType content_type, ContentSetting setting) argument
283 ReadManagedContentSettingsTypes( ContentSettingsType content_type) argument
324 ContentSettingsTypeIsManaged( ContentSettingsType content_type) argument
385 SetContentSetting( const ContentSettingsPattern& requesting_pattern, const ContentSettingsPattern& embedding_pattern, ContentSettingsType content_type, const ResourceIdentifier& resource_identifier, ContentSetting content_setting) argument
393 GetContentSetting( const GURL& requesting_url, const GURL& embedding_url, ContentSettingsType content_type, const ResourceIdentifier& resource_identifier) const argument
405 ClearAllContentSettingsRules( ContentSettingsType content_type) argument
[all...]
H A Dhost_content_settings_map.cc132 ContentSettingsType content_type) const {
138 (*provider)->ProvideDefaultSetting(content_type);
151 ContentSettingsType content_type,
154 content_type,
157 return GetDefaultContentSetting(content_type);
163 ContentSettingsType content_type,
175 url, url, content_type, resource_identifier);
176 bool isManaged = (*provider)->ContentSettingsTypeIsManaged(content_type);
214 ContentSettingsType content_type,
220 // Collect content_settings::Rules for the given content_type an
149 GetContentSetting( const GURL& url, ContentSettingsType content_type, const std::string& resource_identifier) const argument
161 GetNonDefaultContentSetting( const GURL& url, ContentSettingsType content_type, const std::string& resource_identifier) const argument
213 GetSettingsForOneType( ContentSettingsType content_type, const std::string& resource_identifier, SettingsForOneType* settings) const argument
249 SetDefaultContentSetting( ContentSettingsType content_type, ContentSetting setting) 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
280 content_type, local
284 content_type, local
289 ClearSettingsForOneType( ContentSettingsType content_type) argument
[all...]
/external/chromium/chrome/browser/sync/glue/
H A Dpreference_model_associator_unittest.cc23 const std::string& content_type,
34 content_type,
21 SetContentPattern(DictionaryValue* patterns_dict, const std::string& expression, const std::string& content_type, int setting) argument
H A Dhttp_bridge.cc163 void HttpBridge::SetPostPayload(const char* content_type, argument
173 content_type_ = content_type;
/external/wpa_supplicant_6/wpa_supplicant/src/tls/
H A Dtlsv1_record.c140 * @content_type: Content type (TLS_CONTENT_TYPE_*)
152 int tlsv1_record_send(struct tlsv1_record_layer *rl, u8 content_type, u8 *buf, argument
162 *pos++ = content_type;
/external/wpa_supplicant_8/hostapd/src/tls/
H A Dtlsv1_record.c140 * @content_type: Content type (TLS_CONTENT_TYPE_*)
152 int tlsv1_record_send(struct tlsv1_record_layer *rl, u8 content_type, u8 *buf, argument
162 *pos++ = content_type;
/external/wpa_supplicant_8/src/tls/
H A Dtlsv1_record.c140 * @content_type: Content type (TLS_CONTENT_TYPE_*)
152 int tlsv1_record_send(struct tlsv1_record_layer *rl, u8 content_type, u8 *buf, argument
162 *pos++ = content_type;
/external/wpa_supplicant_8/wpa_supplicant/src/tls/
H A Dtlsv1_record.c140 * @content_type: Content type (TLS_CONTENT_TYPE_*)
152 int tlsv1_record_send(struct tlsv1_record_layer *rl, u8 content_type, u8 *buf, argument
162 *pos++ = content_type;
/external/bluetooth/glib/gio/
H A Dgappinfo.c302 * @content_type: the content type.
311 const char *content_type,
317 g_return_val_if_fail (content_type != NULL, FALSE);
321 return (* iface->set_as_default_for_type) (appinfo, content_type, error);
359 * @content_type: a string.
369 const char *content_type,
375 g_return_val_if_fail (content_type != NULL, FALSE);
380 return (* iface->add_supports_type) (appinfo, content_type, error);
418 * @content_type: a string.
427 const char *content_type,
310 g_app_info_set_as_default_for_type(GAppInfo *appinfo, const char *content_type, GError **error) argument
368 g_app_info_add_supports_type(GAppInfo *appinfo, const char *content_type, GError **error) argument
426 g_app_info_remove_supports_type(GAppInfo *appinfo, const char *content_type, GError **error) argument
[all...]
/external/chromium/chrome/browser/
H A Dcontent_setting_bubble_model.h32 ContentSettingsType content_type);
34 ContentSettingsType content_type() const { return content_type_; } function in class:ContentSettingBubbleModel
93 ContentSettingsType content_type);
/external/chromium/chrome/browser/tab_contents/
H A Dtab_specific_content_settings.cc25 ContentSettingsType content_type) const {
26 DCHECK(content_type != CONTENT_SETTINGS_TYPE_GEOLOCATION)
28 DCHECK(content_type != CONTENT_SETTINGS_TYPE_NOTIFICATIONS)
32 if (content_type == CONTENT_SETTINGS_TYPE_IMAGES ||
33 content_type == CONTENT_SETTINGS_TYPE_JAVASCRIPT ||
34 content_type == CONTENT_SETTINGS_TYPE_PLUGINS ||
35 content_type == CONTENT_SETTINGS_TYPE_COOKIES ||
36 content_type == CONTENT_SETTINGS_TYPE_POPUPS)
37 return content_blocked_[content_type];
44 ContentSettingsType content_type) cons
48 SetBlockageHasBeenIndicated( ContentSettingsType content_type) argument
73 AddBlockedResource( ContentSettingsType content_type, const std::string& resource_identifier) argument
[all...]
/external/chromium/chrome/browser/ui/views/location_bar/
H A Dcontent_setting_image_view.cc48 ContentSettingsType content_type,
54 content_type)),
47 ContentSettingImageView( ContentSettingsType content_type, LocationBarView* parent, Profile* profile) argument
/external/chromium/webkit/glue/
H A Dmultipart_response_delegate.cc246 std::string content_type = net::GetSpecificHeader(headers, "content-type"); local
250 net::HttpUtil::ParseContentType(content_type, &mime_type, &charset,
301 std::string content_type = local
304 size_t boundary_start_offset = content_type.find("boundary=");
310 size_t boundary_end_offset = content_type.find(';', boundary_start_offset);
313 boundary_end_offset = content_type.length();
318 content_type.substr(boundary_start_offset, boundary_length);

Completed in 398 milliseconds

123