Index: chrome/browser/ui/webui/downloads_dom_handler.h |
diff --git a/chrome/browser/ui/webui/downloads_dom_handler.h b/chrome/browser/ui/webui/downloads_dom_handler.h |
index 2d3daa25051dac7498d46b7f8beec1825876ba0c..aee7ed18cde0b02ac9b4d98be795a4561ebb9d0a 100644 |
--- a/chrome/browser/ui/webui/downloads_dom_handler.h |
+++ b/chrome/browser/ui/webui/downloads_dom_handler.h |
@@ -11,6 +11,7 @@ |
#include "base/compiler_specific.h" |
#include "base/memory/weak_ptr.h" |
#include "chrome/browser/download/all_download_item_notifier.h" |
+#include "chrome/browser/download/download_danger_prompt.h" |
#include "content/public/browser/download_item.h" |
#include "content/public/browser/download_manager.h" |
#include "content/public/browser/web_ui_message_handler.h" |
@@ -120,7 +121,7 @@ class DownloadsDOMHandler : public content::WebUIMessageHandler, |
// Conveys danger acceptance from the DownloadDangerPrompt to the |
// DownloadItem. |
- void DangerPromptAccepted(int download_id); |
+ void DangerPromptDone(int download_id, DownloadDangerPrompt::Action action); |
// Returns true if the records of any downloaded items are allowed (and able) |
// to be deleted. |