#include "chrome/browser/ui/download/download_bubble_row_view_info.h"
#include "chrome/app/vector_icons/vector_icons.h"
#include "chrome/browser/download/bubble/download_bubble_prefs.h"
#include "chrome/browser/download/download_ui_safe_browsing_util.h"
#include "chrome/browser/enterprise/connectors/common.h"
#include "chrome/browser/safe_browsing/advanced_protection_status_manager.h"
#include "chrome/browser/safe_browsing/advanced_protection_status_manager_factory.h"
#include "chrome/browser/safe_browsing/download_protection/download_protection_service.h"
#include "chrome/browser/ui/color/chrome_color_id.h"
#include "chrome/browser/ui/download/download_item_mode.h"
#include "chrome/grit/generated_resources.h"
#include "components/download/public/common/download_danger_type.h"
#include "components/prefs/pref_service.h"
#include "components/safe_browsing/core/common/features.h"
#include "components/safe_browsing/core/common/proto/csd.pb.h"
#include "components/vector_icons/vector_icons.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/ui_base_features.h"
#include "ui/views/vector_icons.h"
DownloadItem;
FailState;
TailoredVerdict;
TailoredWarningType;
DownloadBubbleRowViewInfoObserver::DownloadBubbleRowViewInfoObserver() =
default;
DownloadBubbleRowViewInfoObserver::~DownloadBubbleRowViewInfoObserver() { … }
DownloadBubbleRowViewInfo::DownloadBubbleRowViewInfo(
DownloadUIModel::DownloadUIModelPtr model)
: … { … }
DownloadBubbleRowViewInfo::~DownloadBubbleRowViewInfo() { … }
void DownloadBubbleRowViewInfo::SetQuickActionsForTesting(
const std::vector<DownloadBubbleQuickAction>& actions) { … }
void DownloadBubbleRowViewInfo::OnDownloadOpened() { … }
void DownloadBubbleRowViewInfo::OnDownloadUpdated() { … }
void DownloadBubbleRowViewInfo::OnDownloadDestroyed(
const offline_items_collection::ContentId& id) { … }
void DownloadBubbleRowViewInfo::PopulateFromModel() { … }
void DownloadBubbleRowViewInfo::PopulateForInProgressOrComplete() { … }
void DownloadBubbleRowViewInfo::PopulateForInterrupted(
offline_items_collection::FailState fail_state) { … }
void DownloadBubbleRowViewInfo::PopulateForTailoredWarning(
TailoredWarningType tailored_warning_type) { … }
void DownloadBubbleRowViewInfo::PopulateForFileTypeWarningNoSafeBrowsing() { … }
void DownloadBubbleRowViewInfo::PopulateSuspiciousUiPattern() { … }
void DownloadBubbleRowViewInfo::PopulateDangerousUiPattern() { … }
void DownloadBubbleRowViewInfo::Reset() { … }
bool DownloadBubbleRowViewInfo::ShouldShowDeepScanNotice() const { … }