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

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

Issue 153353006: Opt out of download feedback from settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First version for review Created 6 years, 10 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 01cd11d11636ad4741db632068f7e00d7aa95e65..9343ef52d4f60f2b3bff8cc651f6591ff82be3b6 100644
--- a/chrome/browser/ui/views/download/download_item_view.h
+++ b/chrome/browser/ui/views/download/download_item_view.h
@@ -27,7 +27,7 @@
#include "base/timer/timer.h"
#include "chrome/browser/download/download_item_model.h"
#include "chrome/browser/icon_manager.h"
-#include "chrome/browser/ui/views/download/download_feedback_dialog_view.h"
+#include "chrome/browser/safe_browsing/download_feedback_service.h"
#include "content/public/browser/download_item.h"
#include "content/public/browser/download_manager.h"
#include "ui/gfx/animation/animation_delegate.h"
@@ -155,7 +155,7 @@ class DownloadItemView : public views::ButtonListener,
// If the user has enabled uploading, calls SubmitDownloadToFeedbackService.
// Otherwise, it simply removes the DownloadItem without uploading.
void PossiblySubmitDownloadToFeedbackService(
- DownloadFeedbackDialogView::DownloadReportingStatus status);
+ safe_browsing::DownloadFeedbackService::DownloadReportingStatus status);
void LoadIcon();
void LoadIconIfItemPathChanged();

Powered by Google App Engine
This is Rietveld 408576698