use DownloadItem to determine download initiator

This commit is contained in:
deepak1556 2016-04-27 20:29:39 +05:30
parent 46208b5b3e
commit 6dbd2ce243
3 changed files with 2 additions and 12 deletions

View file

@ -73,11 +73,6 @@ void SavePageHandler::Destroy(content::DownloadItem* item) {
delete this;
}
// static
bool SavePageHandler::IsSavePageTypes(const std::string& type) {
return type == "multipart/related" || type == "text/html";
}
} // namespace api
} // namespace atom