Home
last modified time | relevance | path

Searched refs:danger_type (Results 1 – 25 of 42) sorted by relevance

12

/external/chromium_org/content/public/test/
Dmock_download_manager.cc27 DownloadDangerType danger_type, in CreateDownloadItemAdapter() argument
42 danger_type(danger_type), in CreateDownloadItemAdapter()
60 danger_type(rhs.danger_type), in CreateDownloadItemAdapter()
82 danger_type == rhs.danger_type && in operator ==()
113 DownloadDangerType danger_type, in CreateDownloadItem() argument
119 received_bytes, total_bytes, state, danger_type, interrupt_reason, in CreateDownloadItem()
Dmock_download_manager.h44 DownloadDangerType danger_type; member
63 DownloadDangerType danger_type,
118 DownloadDangerType danger_type,
/external/chromium_org/chrome/browser/download/
Ddownload_stats.cc35 content::DownloadDangerType danger_type) { in RecordDangerousDownloadWarningShown() argument
37 danger_type, in RecordDangerousDownloadWarningShown()
42 content::DownloadDangerType danger_type) { in RecordOpenedDangerousConfirmDialog() argument
44 danger_type, in RecordOpenedDangerousConfirmDialog()
Dchrome_download_manager_delegate.cc161 content::DownloadDangerType danger_type; in CheckDownloadUrlDone() local
167 danger_type = content::DOWNLOAD_DANGER_TYPE_MAYBE_DANGEROUS_CONTENT; in CheckDownloadUrlDone()
169 danger_type = content::DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS; in CheckDownloadUrlDone()
173 danger_type = content::DOWNLOAD_DANGER_TYPE_DANGEROUS_URL; in CheckDownloadUrlDone()
175 callback.Run(danger_type); in CheckDownloadUrlDone()
636 content::DownloadDangerType danger_type = in CheckClientDownloadDone() local
643 danger_type = content::DOWNLOAD_DANGER_TYPE_DANGEROUS_CONTENT; in CheckClientDownloadDone()
646 danger_type = content::DOWNLOAD_DANGER_TYPE_UNCOMMON_CONTENT; in CheckClientDownloadDone()
649 danger_type = content::DOWNLOAD_DANGER_TYPE_DANGEROUS_HOST; in CheckClientDownloadDone()
652 danger_type = content::DOWNLOAD_DANGER_TYPE_POTENTIALLY_UNWANTED; in CheckClientDownloadDone()
[all …]
Ddownload_stats.h84 content::DownloadDangerType danger_type);
88 content::DownloadDangerType danger_type);
Ddownload_target_info.h27 content::DownloadDangerType danger_type; member
Ddownload_history_unittest.cc54 EXPECT_EQ(left.danger_type, right.danger_type); in CheckInfoEqual()
251 infos->at(index).danger_type, in CreateDownloadHistory()
389 content::DownloadDangerType danger_type, in InitItem() argument
414 info->danger_type = danger_type; in InitItem()
447 .WillRepeatedly(Return(danger_type)); in InitItem()
676 info.danger_type = content::DOWNLOAD_DANGER_TYPE_DANGEROUS_CONTENT; in TEST_F()
Dchrome_download_manager_delegate_unittest.cc252 content::DownloadDangerType danger_type, in StoreDownloadTargetInfo() argument
256 target_info->danger_type = danger_type; in StoreDownloadTargetInfo()
Ddownload_target_determiner_delegate.h62 typedef base::Callback<void(content::DownloadDangerType danger_type)>
Ddownload_history.cc161 (previous->danger_type != current.danger_type) || in ShouldUpdateHistory()
277 it->danger_type, in QueryCallback()
Ddownload_target_determiner.cc560 content::DownloadDangerType danger_type) { in CheckDownloadUrlDone() argument
562 DVLOG(20) << "URL Check Result:" << danger_type; in CheckDownloadUrlDone()
564 danger_type_ = danger_type; in CheckDownloadUrlDone()
711 target_info->danger_type = danger_type_; in ScheduleCallbackAndDeleteSelf()
/external/chromium_org/chrome/browser/history/
Ddownload_row.cc13 danger_type(content::DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS), in DownloadRow()
33 content::DownloadDangerType danger_type, in DownloadRow() argument
52 danger_type(danger_type), in DownloadRow()
Ddownload_database.cc118 int DownloadDatabase::DangerTypeToInt(content::DownloadDangerType danger_type) { in DangerTypeToInt() argument
119 switch (danger_type) { in DangerTypeToInt()
146 content::DownloadDangerType DownloadDatabase::IntToDangerType(int danger_type) { in IntToDangerType() argument
147 switch (danger_type) { in IntToDangerType()
391 info->danger_type = IntToDangerType(statement_main.ColumnInt(column++)); in QueryDownloads()
414 } else if (info->danger_type == content::DOWNLOAD_DANGER_TYPE_MAX) { in QueryDownloads()
495 int danger_type = DangerTypeToInt(data.danger_type); in UpdateDownload() local
496 if (danger_type == kDangerTypeInvalid) { in UpdateDownload()
516 statement.BindInt(column++, danger_type); in UpdateDownload()
555 int danger_type = DangerTypeToInt(info.danger_type); in CreateDownload() local
[all …]
Ddownload_database.h125 static int DangerTypeToInt(content::DownloadDangerType danger_type);
126 static content::DownloadDangerType IntToDangerType(int danger_type);
Ddownload_row.h39 content::DownloadDangerType danger_type,
92 content::DownloadDangerType danger_type; member
/external/chromium_org/content/browser/download/
Ddownload_stats.cc287 void RecordMaliciousDownloadClassified(DownloadDangerType danger_type) { in RecordMaliciousDownloadClassified() argument
289 danger_type, in RecordMaliciousDownloadClassified()
293 void RecordDangerousDownloadAccept(DownloadDangerType danger_type, in RecordDangerousDownloadAccept() argument
296 danger_type, in RecordDangerousDownloadAccept()
298 if (danger_type == DOWNLOAD_DANGER_TYPE_DANGEROUS_FILE) { in RecordDangerousDownloadAccept()
306 DownloadDangerType danger_type, in RecordDangerousDownloadDiscard() argument
311 "Download.UserDiscard", danger_type, DOWNLOAD_DANGER_TYPE_MAX); in RecordDangerousDownloadDiscard()
312 if (danger_type == DOWNLOAD_DANGER_TYPE_DANGEROUS_FILE) { in RecordDangerousDownloadDiscard()
319 "Download.Discard", danger_type, DOWNLOAD_DANGER_TYPE_MAX); in RecordDangerousDownloadDiscard()
320 if (danger_type == DOWNLOAD_DANGER_TYPE_DANGEROUS_FILE) { in RecordDangerousDownloadDiscard()
Ddownload_stats.h138 void RecordMaliciousDownloadClassified(DownloadDangerType danger_type);
142 DownloadDangerType danger_type,
148 DownloadDangerType danger_type,
Ddownload_item_impl.cc125 DownloadDangerType danger_type, in DownloadItemImpl() argument
148 danger_type_(danger_type), in DownloadItemImpl()
781 void DownloadItemImpl::OnContentCheckCompleted(DownloadDangerType danger_type) { in OnContentCheckCompleted() argument
784 VLOG(20) << __FUNCTION__ << " danger_type=" << danger_type in OnContentCheckCompleted()
786 SetDangerType(danger_type); in OnContentCheckCompleted()
1176 DownloadDangerType danger_type, in OnDownloadTargetDetermined() argument
1196 << " " << danger_type << " " << DebugString(true); in OnDownloadTargetDetermined()
1200 SetDangerType(danger_type); in OnDownloadTargetDetermined()
1628 void DownloadItemImpl::SetDangerType(DownloadDangerType danger_type) { in SetDangerType() argument
1629 if (danger_type != danger_type_) { in SetDangerType()
[all …]
Ddownload_item_impl.h68 DownloadDangerType danger_type,
155 virtual void OnContentCheckCompleted(DownloadDangerType danger_type) OVERRIDE;
316 DownloadDangerType danger_type,
373 void SetDangerType(DownloadDangerType danger_type);
Ddownload_net_log_parameters.cc67 DownloadDangerType danger_type, in ItemCheckedNetLogCallback() argument
71 dict->SetString("danger_type", download_danger_names[danger_type]); in ItemCheckedNetLogCallback()
Ddownload_item_factory.h56 DownloadDangerType danger_type,
/external/chromium_org/chrome/browser/safe_browsing/
Ddownload_feedback_service.cc127 content::DownloadDangerType danger_type) { in RecordEligibleDownloadShown() argument
129 danger_type, in RecordEligibleDownloadShown()
Ddownload_feedback_service.h63 content::DownloadDangerType danger_type);
/external/chromium_org/content/public/browser/
Ddownload_manager_delegate.h45 DownloadDangerType danger_type,
/external/chromium_org/chrome/browser/ui/webui/
Ddownloads_ui_browsertest.js76 danger_type: Download.DangerType.NOT_DANGEROUS,

12