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

Unified Diff: chrome/browser/ui/webui/downloads_dom_handler.cc

Issue 16924017: A few minor changes to the chrome.downloads extension API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: @r208716 Created 7 years, 6 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/ui/webui/downloads_dom_handler.cc
diff --git a/chrome/browser/ui/webui/downloads_dom_handler.cc b/chrome/browser/ui/webui/downloads_dom_handler.cc
index 124b278084b02757b18d296904bb554ce45957ae..c474eb7fc257213ee664102bd444f21439ab029b 100644
--- a/chrome/browser/ui/webui/downloads_dom_handler.cc
+++ b/chrome/browser/ui/webui/downloads_dom_handler.cc
@@ -516,6 +516,7 @@ void DownloadsDOMHandler::ShowDangerPrompt(
false,
base::Bind(&DownloadsDOMHandler::DangerPromptAccepted,
weak_ptr_factory_.GetWeakPtr(), dangerous_item->GetId()),
+ base::Closure(),
base::Closure());
// danger_prompt will delete itself.
DCHECK(danger_prompt);

Powered by Google App Engine
This is Rietveld 408576698