Commit 8f279b4c authored by thestig's avatar thestig Committed by Commit bot

Remove an old TODO in net/base.

This was added in http://crrev.com/16233, but will no longer be needed
once https://codereview.chromium.org/1139273002/ fixes the test.

BUG=488585

Review URL: https://codereview.chromium.org/1131263011

Cr-Commit-Position: refs/heads/master@{#330894}
parent 954dff9e
...@@ -33,13 +33,6 @@ bool PlatformMimeUtil::GetPlatformMimeTypeFromExtension( ...@@ -33,13 +33,6 @@ bool PlatformMimeUtil::GetPlatformMimeTypeFromExtension(
#else #else
bool PlatformMimeUtil::GetPlatformMimeTypeFromExtension( bool PlatformMimeUtil::GetPlatformMimeTypeFromExtension(
const base::FilePath::StringType& ext, std::string* result) const { const base::FilePath::StringType& ext, std::string* result) const {
// TODO(thestig): This is a temporary hack until we can fix this
// properly in test shell / webkit.
// We have to play dumb and not return application/x-perl here
// to make the reload-subframe-object layout test happy.
if (ext == "pl")
return false;
base::FilePath dummy_path("foo." + ext); base::FilePath dummy_path("foo." + ext);
std::string out = base::nix::GetFileMimeType(dummy_path); std::string out = base::nix::GetFileMimeType(dummy_path);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment