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

Unified Diff: chrome/browser/ui/webui/md_downloads/md_downloads_dom_handler.h

Issue 2087043004: MD Downloads: "Clear All" should remove dangerous downloads for good (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/md_downloads/md_downloads_dom_handler.h
diff --git a/chrome/browser/ui/webui/md_downloads/md_downloads_dom_handler.h b/chrome/browser/ui/webui/md_downloads/md_downloads_dom_handler.h
index 10636211a55848c30b035f9ea252bd0b14175a4b..1769d14239265621eed8691c21eeb8c82566bfe4 100644
--- a/chrome/browser/ui/webui/md_downloads/md_downloads_dom_handler.h
+++ b/chrome/browser/ui/webui/md_downloads/md_downloads_dom_handler.h
@@ -133,6 +133,9 @@ class MdDownloadsDOMHandler : public content::WebContentsObserver,
// Remove all downloads in |to_remove| with the ability to undo removal later.
void RemoveDownloads(const DownloadVector& to_remove);
+ // Removes the download specified by an ID from JavaScript in |args|.
+ void RemoveDownloadInArgs(const base::ListValue* args);
+
// Checks whether a download's file was removed from its original location.
void CheckForRemovedFiles();

Powered by Google App Engine
This is Rietveld 408576698