| Index: content/child/web_url_loader_impl.cc
|
| diff --git a/content/child/web_url_loader_impl.cc b/content/child/web_url_loader_impl.cc
|
| index 11431b1e48ed683d7ac312a451601c97c8a86303..5a6f5e3657ed084859b4778b392bdfb903aa9cbb 100644
|
| --- a/content/child/web_url_loader_impl.cc
|
| +++ b/content/child/web_url_loader_impl.cc
|
| @@ -1111,20 +1111,6 @@ void WebURLLoaderImpl::PopulateURLResponse(const GURL& url,
|
| response->setHTTPStatusCode(headers->response_code());
|
| response->setHTTPStatusText(WebString::fromLatin1(headers->GetStatusText()));
|
|
|
| - // TODO(darin): We should leverage HttpResponseHeaders for this, and this
|
| - // should be using the same code as ResourceDispatcherHost.
|
| - // TODO(jungshik): Figure out the actual value of the referrer charset and
|
| - // pass it to GetSuggestedFilename.
|
| - std::string value;
|
| - headers->EnumerateHeader(NULL, "content-disposition", &value);
|
| - response->setSuggestedFileName(
|
| - net::GetSuggestedFilename(url,
|
| - value,
|
| - std::string(), // referrer_charset
|
| - std::string(), // suggested_name
|
| - std::string(), // mime_type
|
| - std::string())); // default_name
|
| -
|
| Time time_val;
|
| if (headers->GetLastModifiedValue(&time_val))
|
| response->setLastModifiedDate(time_val.ToDoubleT());
|
|
|