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

Unified Diff: chrome/browser/download/download_shelf_context_menu.cc

Issue 12313141: Use DownloadItem directly in DownloadProtectionService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review fixes Created 7 years, 10 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/download/download_shelf_context_menu.cc
diff --git a/chrome/browser/download/download_shelf_context_menu.cc b/chrome/browser/download/download_shelf_context_menu.cc
index 33e92338ebfd780f30d4424802b26c65a7d9526c..dc420af9ca0358a7a38b7a3e2b9b6c0c77c251f1 100644
--- a/chrome/browser/download/download_shelf_context_menu.cc
+++ b/chrome/browser/download/download_shelf_context_menu.cc
@@ -150,10 +150,7 @@ void DownloadShelfContextMenu::ExecuteCommand(int command_id) {
DownloadProtectionService* protection_service =
(sb_service ? sb_service->download_protection_service() : NULL);
if (protection_service) {
- protection_service->ShowDetailsForDownload(
- DownloadProtectionService::DownloadInfo::FromDownloadItem(
- *download_item_),
- navigator_);
+ protection_service->ShowDetailsForDownload(*download_item_, navigator_);
}
#else
// Should only be getting invoked if we are using safe browsing.

Powered by Google App Engine
This is Rietveld 408576698