Searched defs:referrer_charset (Results 1 - 6 of 6) sorted by relevance

/external/chromium_org/net/base/
H A Dfilename_util_unsafe.cc36 const std::string& referrer_charset,
43 referrer_charset,
33 GenerateFileExtensionUnsafe( const GURL& url, const std::string& content_disposition, const std::string& referrer_charset, const std::string& suggested_name, const std::string& mime_type, const std::string& default_file_name) argument
H A Dfilename_util_icu.cc48 const std::string& referrer_charset,
55 referrer_charset,
64 const std::string& referrer_charset,
71 referrer_charset,
46 GetSuggestedFilename(const GURL& url, const std::string& content_disposition, const std::string& referrer_charset, const std::string& suggested_name, const std::string& mime_type, const std::string& default_name) argument
62 GenerateFileName(const GURL& url, const std::string& content_disposition, const std::string& referrer_charset, const std::string& suggested_name, const std::string& mime_type, const std::string& default_file_name) argument
H A Dfilename_util_unittest.cc28 const char* referrer_charset; member in struct:net::__anon9005::GenerateFilenameCase
55 test_case->referrer_charset, test_case->suggested_filename,
1662 test_case.referrer_charset = "GBK";
H A Dfilename_util_internal.cc55 const std::string& referrer_charset,
73 if (!referrer_charset.empty() &&
75 unescaped_url_filename, referrer_charset.c_str(), &utf16_output)) {
218 const std::string& referrer_charset,
235 HttpContentDisposition header(content_disposition, referrer_charset);
247 filename = GetFileNameFromURL(url, referrer_charset, &overwrite_extension);
294 const std::string& referrer_charset,
302 referrer_charset,
54 GetFileNameFromURL(const GURL& url, const std::string& referrer_charset, bool* should_overwrite_extension) argument
215 GetSuggestedFilenameImpl( const GURL& url, const std::string& content_disposition, const std::string& referrer_charset, const std::string& suggested_name, const std::string& mime_type, const std::string& default_name, ReplaceIllegalCharactersCallback replace_illegal_characters_callback) argument
291 GenerateFileNameImpl( const GURL& url, const std::string& content_disposition, const std::string& referrer_charset, const std::string& suggested_name, const std::string& mime_type, const std::string& default_file_name, ReplaceIllegalCharactersCallback replace_illegal_characters_callback) argument
/external/chromium_org/net/http/
H A Dhttp_content_disposition_unittest.cc16 const char* referrer_charset; member in struct:net::__anon9293::FileNameCDCase
73 // it's valid as UTF-8 and regardless of |referrer_charset|.
199 HttpContentDisposition header(tests[i].header, tests[i].referrer_charset);
H A Dhttp_content_disposition.cc80 const std::string& referrer_charset,
90 // Try UTF-8, referrer_charset and the native OS default charset in turn.
95 if (!referrer_charset.empty() &&
96 net::ConvertToUTF16(encoded_word, referrer_charset.c_str(),
212 // strings. Non-ASCII strings are interpreted based on |referrer_charset|.
214 const std::string& referrer_charset,
238 if (!DecodeWord(t.token(), referrer_charset, &is_previous_token_rfc2047,
336 const std::string& header, const std::string& referrer_charset)
339 Parse(header, referrer_charset);
394 const std::string& referrer_charset) {
79 DecodeWord(const std::string& encoded_word, const std::string& referrer_charset, bool* is_rfc2047, std::string* output, int* parse_result_flags) argument
213 DecodeFilenameValue(const std::string& input, const std::string& referrer_charset, std::string* output, int* parse_result_flags) argument
335 HttpContentDisposition( const std::string& header, const std::string& referrer_charset) argument
393 Parse(const std::string& header, const std::string& referrer_charset) argument
[all...]

Completed in 106 milliseconds