Searched defs:content_type_header (Results 1 - 4 of 4) sorted by relevance

/external/chromium_org/net/url_request/
H A Durl_request_data_job.cc37 std::string content_type_header = local
39 headers->AddHeader(content_type_header);
/external/chromium_org/extensions/browser/api/web_request/
H A Dform_data_parser_unittest.cc15 // Attempts to create a parser corresponding to the |content_type_header|.
17 scoped_ptr<FormDataParser> InitParser(const std::string& content_type_header) { argument
19 FormDataParser::CreateFromContentTypeHeader(&content_type_header));
25 // Attempts to run the parser corresponding to the |content_type_header|
29 bool RunParser(const std::string& content_type_header, argument
34 scoped_ptr<FormDataParser> parser(InitParser(content_type_header));
49 // Attempts to run the parser corresponding to the |content_type_header|
52 bool CheckParserFails(const std::string& content_type_header, argument
55 scoped_ptr<FormDataParser> parser(InitParser(content_type_header));
H A Dform_data_parser.cc307 const std::string* content_type_header) {
312 if (content_type_header == NULL) {
316 content_type_header->substr(0, content_type_header->find(';')));
324 size_t offset = content_type_header->find(kBoundaryString);
330 boundary = content_type_header->substr(
331 offset, content_type_header->find(';', offset));
306 CreateFromContentTypeHeader( const std::string* content_type_header) argument
/external/chromium_org/content/renderer/npapi/
H A Dwebplugin_impl.cc634 WebString content_type_header = WebString::fromUTF8("Content-Type"); local
636 request->httpHeaderField(content_type_header);
639 content_type_header,

Completed in 133 milliseconds