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

Unified Diff: chrome/browser/ui/views/download/download_item_view.h

Issue 147593002: Implement new dangerous download reporting dialog for UNCOMMON_DOWNLOAD, in Views (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo Created 6 years, 11 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/views/download/download_item_view.h
diff --git a/chrome/browser/ui/views/download/download_item_view.h b/chrome/browser/ui/views/download/download_item_view.h
index a1c34b18c59882fa9c0858890a865112c773c97f..9f86a20225b958417d01dde01a90b2b63026b18c 100644
--- a/chrome/browser/ui/views/download/download_item_view.h
+++ b/chrome/browser/ui/views/download/download_item_view.h
@@ -151,6 +151,10 @@ class DownloadItemView : public views::ButtonListener,
// false is returned, nothing has changed.
Peter Kasting 2014/02/04 21:56:33 Nit: While here, maybe change to: Submits the dow
felt 2014/02/04 23:37:22 Done.
bool BeginDownloadFeedback();
Peter Kasting 2014/02/04 21:56:33 Nit: This function name and the one below seem som
felt 2014/02/04 23:37:22 Done.
+ // If the user has enabled uploading, calls BeginDownloadFeedback. Otherwise,
+ // it simply removes the DownloadItem without uploading.
+ void BeginDownloadFeedbackWrapper(bool user_enabled);
Peter Kasting 2014/02/04 21:56:33 Nit: Header declaration order does not mach .cc de
felt 2014/02/04 23:37:22 Done.
+
void LoadIcon();
void LoadIconIfItemPathChanged();

Powered by Google App Engine
This is Rietveld 408576698