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

Unified Diff: chrome/browser/ui/views/download/download_danger_prompt_views.cc

Issue 114003005: Add Download.ShowDangerousDownloadConfirmationPrompt for Windows/CrOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Typo Created 6 years, 12 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/download/download_danger_prompt_views.cc
diff --git a/chrome/browser/ui/views/download/download_danger_prompt_views.cc b/chrome/browser/ui/views/download/download_danger_prompt_views.cc
index 52da325415dd441bf48086c657488e1c52ff9029..8f01728b6a6e044a1561526e4bae046e3bf635a3 100644
--- a/chrome/browser/ui/views/download/download_danger_prompt_views.cc
+++ b/chrome/browser/ui/views/download/download_danger_prompt_views.cc
@@ -4,6 +4,7 @@
#include "base/compiler_specific.h"
#include "chrome/browser/download/download_danger_prompt.h"
+#include "chrome/browser/download/download_stats.h"
#include "chrome/browser/ui/views/constrained_window_views.h"
#include "components/web_modal/web_contents_modal_dialog_host.h"
#include "components/web_modal/web_contents_modal_dialog_manager.h"
@@ -130,6 +131,8 @@ DownloadDangerPromptViews::DownloadDangerPromptViews(
layout->StartRow(0, 0);
layout->AddView(message_body_label);
+
+ RecordOpenedDangerousConfirmDialog(download_->GetDangerType());
}
// DownloadDangerPrompt methods:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698