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

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: Rename methods for consistency 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 33d628211a9d5223e63bb0669c59426ee3364717..f2313d70f07f8cd230c1246754560e7487b4ac47 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