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

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: Fixed similarity issue [now ready for review] 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.
bool BeginDownloadFeedback();
+ // If the user has enabled uploading, calls BeginDownloadFeedback. Otherwise,
+ // it simply removes the DownloadItem without uploading.
+ void BeginDownloadFeedbackWrapper(bool user_enabled);
+
void LoadIcon();
void LoadIconIfItemPathChanged();

Powered by Google App Engine
This is Rietveld 408576698