Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(936)

Unified Diff: chrome/browser/extensions/api/downloads/downloads_api.cc

Issue 14947007: [Downloads] Allow acquiring dangerous download file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/downloads/downloads_api.cc
diff --git a/chrome/browser/extensions/api/downloads/downloads_api.cc b/chrome/browser/extensions/api/downloads/downloads_api.cc
index d13a9e98f6f1a175ca5b928faf48266e8375be01..b6f37b84b0cde7480e0c64dc81a88c3870898eba 100644
--- a/chrome/browser/extensions/api/downloads/downloads_api.cc
+++ b/chrome/browser/extensions/api/downloads/downloads_api.cc
@@ -1071,7 +1071,7 @@ void DownloadsAcceptDangerFunction::DangerPromptCallback(
DownloadItem* download_item = GetDownloadIfInProgress(
profile(), include_incognito(), download_id);
if (download_item)
- download_item->DangerousDownloadValidated();
+ download_item->ValidateDangerousDownload();
}
SendResponse(error_.empty());
}

Powered by Google App Engine
This is Rietveld 408576698