/external/chromium_org/chrome/browser/download/ |
H A D | download_target_info.h | 27 content::DownloadDangerType danger_type; member in struct:DownloadTargetInfo
|
H A D | download_stats.cc | 35 content::DownloadDangerType danger_type) { 37 danger_type, 42 content::DownloadDangerType danger_type) { 44 danger_type, 34 RecordDangerousDownloadWarningShown( content::DownloadDangerType danger_type) argument 41 RecordOpenedDangerousConfirmDialog( content::DownloadDangerType danger_type) argument
|
H A D | chrome_download_manager_delegate_unittest.cc | 252 content::DownloadDangerType danger_type, 256 target_info->danger_type = danger_type; 248 StoreDownloadTargetInfo(const base::Closure& closure, DownloadTargetInfo* target_info, const base::FilePath& target_path, DownloadItem::TargetDisposition target_disposition, content::DownloadDangerType danger_type, const base::FilePath& intermediate_path) argument
|
H A D | chrome_download_manager_delegate.cc | 145 content::DownloadDangerType danger_type; local 152 danger_type = content::DOWNLOAD_DANGER_TYPE_MAYBE_DANGEROUS_CONTENT; 154 danger_type = content::DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS; 158 danger_type = content::DOWNLOAD_DANGER_TYPE_DANGEROUS_URL; 160 callback.Run(danger_type); 311 content::DownloadDangerType danger_type = item->GetDangerType(); local 313 (danger_type == content::DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS || 314 danger_type == 637 content::DownloadDangerType danger_type = local 643 danger_type [all...] |
H A D | download_history_unittest.cc | 54 EXPECT_EQ(left.danger_type, right.danger_type); 251 infos->at(index).danger_type, 389 content::DownloadDangerType danger_type, 414 info->danger_type = danger_type; 447 .WillRepeatedly(Return(danger_type)); 673 // danger_type 676 info.danger_type = content::DOWNLOAD_DANGER_TYPE_DANGEROUS_CONTENT; 374 InitItem( uint32 id, const base::FilePath& current_path, const base::FilePath& target_path, const std::vector<GURL>& url_chain, const GURL& referrer, const std::string& mime_type, const std::string& original_mime_type, const base::Time& start_time, const base::Time& end_time, const std::string& etag, const std::string& last_modified, int64 received_bytes, int64 total_bytes, content::DownloadItem::DownloadState state, content::DownloadDangerType danger_type, content::DownloadInterruptReason interrupt_reason, bool opened, const std::string& by_extension_id, const std::string& by_extension_name, history::DownloadRow* info) argument
|
H A D | download_target_determiner.cc | 565 content::DownloadDangerType danger_type) { 567 DVLOG(20) << "URL Check Result:" << danger_type; 569 danger_type_ = danger_type; 724 target_info->danger_type = danger_type_; 564 CheckDownloadUrlDone( content::DownloadDangerType danger_type) argument
|
/external/chromium_org/chrome/browser/history/ |
H A D | download_row.cc | 13 danger_type(content::DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS), 33 content::DownloadDangerType danger_type, 52 danger_type(danger_type), 19 DownloadRow( const base::FilePath& current_path, const base::FilePath& target_path, const std::vector<GURL>& url_chain, const GURL& referrer, const std::string& mime_type, const std::string& original_mime_type, const base::Time& start, const base::Time& end, const std::string& etag, const std::string& last_modified, int64 received, int64 total, content::DownloadItem::DownloadState download_state, content::DownloadDangerType danger_type, content::DownloadInterruptReason interrupt_reason, uint32 id, bool download_opened, const std::string& ext_id, const std::string& ext_name) argument
|
H A D | download_row.h | 39 content::DownloadDangerType danger_type, 92 content::DownloadDangerType danger_type; member in struct:history::DownloadRow
|
H A D | download_database.cc | 118 int DownloadDatabase::DangerTypeToInt(content::DownloadDangerType danger_type) { argument 119 switch (danger_type) { 146 content::DownloadDangerType DownloadDatabase::IntToDangerType(int danger_type) { argument 147 switch (danger_type) { 217 "danger_type INTEGER NOT NULL," 243 " total_bytes, state, danger_type, interrupt_reason, end_time, opened ) " 298 "danger_type INTEGER NOT NULL," // Danger type, validated. 366 "total_bytes, state, danger_type, interrupt_reason, end_time, opened, " 391 info->danger_type = IntToDangerType(statement_main.ColumnInt(column++)); 414 } else if (info->danger_type 495 int danger_type = DangerTypeToInt(data.danger_type); local 555 int danger_type = DangerTypeToInt(info.danger_type); local [all...] |
/external/chromium_org/content/public/test/ |
H A D | mock_download_manager.h | 44 DownloadDangerType danger_type; member in struct:content::MockDownloadManager::CreateDownloadItemAdapter 63 DownloadDangerType danger_type, 118 DownloadDangerType danger_type,
|
H A D | mock_download_manager.cc | 27 DownloadDangerType danger_type, 42 danger_type(danger_type), 60 danger_type(rhs.danger_type), 82 danger_type == rhs.danger_type && 113 DownloadDangerType danger_type, 119 received_bytes, total_bytes, state, danger_type, interrupt_reason, 12 CreateDownloadItemAdapter( uint32 id, const base::FilePath& current_path, const base::FilePath& target_path, const std::vector<GURL>& url_chain, const GURL& referrer_url, const std::string& mime_type, const std::string& original_mime_type, const base::Time& start_time, const base::Time& end_time, const std::string& etag, const std::string& last_modified, int64 received_bytes, int64 total_bytes, DownloadItem::DownloadState state, DownloadDangerType danger_type, DownloadInterruptReason interrupt_reason, bool opened) argument 98 CreateDownloadItem( uint32 id, const base::FilePath& current_path, const base::FilePath& target_path, const std::vector<GURL>& url_chain, const GURL& referrer_url, const std::string& mime_type, const std::string& original_mime_type, const base::Time& start_time, const base::Time& end_time, const std::string& etag, const std::string& last_modified, int64 received_bytes, int64 total_bytes, DownloadItem::DownloadState state, DownloadDangerType danger_type, DownloadInterruptReason interrupt_reason, bool opened) argument
|
/external/chromium_org/chrome/browser/safe_browsing/ |
H A D | download_feedback_service.cc | 127 content::DownloadDangerType danger_type) { 129 danger_type, 126 RecordEligibleDownloadShown( content::DownloadDangerType danger_type) argument
|
/external/chromium_org/content/browser/download/ |
H A D | download_net_log_parameters.cc | 57 dict->SetString("danger_type", 67 DownloadDangerType danger_type, 71 dict->SetString("danger_type", download_danger_names[danger_type]); 66 ItemCheckedNetLogCallback( DownloadDangerType danger_type, net::NetLog::LogLevel log_level) argument
|
H A D | download_item_impl_unittest.cc | 274 DownloadDangerType danger_type) { 287 danger_type, intermediate_path); 273 DoIntermediateRename(DownloadItemImpl* item, DownloadDangerType danger_type) argument
|
H A D | download_manager_impl.cc | 181 DownloadDangerType danger_type, 201 danger_type, 635 DownloadDangerType danger_type, 658 danger_type, 620 CreateDownloadItem( uint32 id, const base::FilePath& current_path, const base::FilePath& target_path, const std::vector<GURL>& url_chain, const GURL& referrer_url, const std::string& mime_type, const std::string& original_mime_type, const base::Time& start_time, const base::Time& end_time, const std::string& etag, const std::string& last_modified, int64 received_bytes, int64 total_bytes, DownloadItem::DownloadState state, DownloadDangerType danger_type, DownloadInterruptReason interrupt_reason, bool opened) argument
|
H A D | download_manager_impl_unittest.cc | 248 DownloadDangerType danger_type, 315 DownloadDangerType danger_type, 543 DownloadDangerType danger_type, 548 danger_type_ = danger_type; 299 CreatePersistedItem( DownloadItemImplDelegate* delegate, uint32 download_id, const base::FilePath& current_path, const base::FilePath& target_path, const std::vector<GURL>& url_chain, const GURL& referrer_url, const std::string& mime_type, const std::string& original_mime_type, const base::Time& start_time, const base::Time& end_time, const std::string& etag, const std::string& last_modified, int64 received_bytes, int64 total_bytes, DownloadItem::DownloadState state, DownloadDangerType danger_type, DownloadInterruptReason interrupt_reason, bool opened, const net::BoundNetLog& bound_net_log) argument 540 DownloadTargetDeterminedCallback( const base::FilePath& target_path, DownloadItem::TargetDisposition disposition, DownloadDangerType danger_type, const base::FilePath& intermediate_path) argument
|
H A D | download_stats.cc | 287 void RecordMaliciousDownloadClassified(DownloadDangerType danger_type) { argument 289 danger_type, 293 void RecordDangerousDownloadAccept(DownloadDangerType danger_type, argument 296 danger_type, 298 if (danger_type == DOWNLOAD_DANGER_TYPE_DANGEROUS_FILE) { 306 DownloadDangerType danger_type, 311 "Download.UserDiscard", danger_type, DOWNLOAD_DANGER_TYPE_MAX); 312 if (danger_type == DOWNLOAD_DANGER_TYPE_DANGEROUS_FILE) { 319 "Download.Discard", danger_type, DOWNLOAD_DANGER_TYPE_MAX); 320 if (danger_type 305 RecordDangerousDownloadDiscard(DownloadDiscardReason reason, DownloadDangerType danger_type, const base::FilePath& file_path) argument [all...] |
H A D | download_item_impl.cc | 125 DownloadDangerType danger_type, 148 danger_type_(danger_type), 781 void DownloadItemImpl::OnContentCheckCompleted(DownloadDangerType danger_type) { argument 784 VLOG(20) << __FUNCTION__ << " danger_type=" << danger_type 786 SetDangerType(danger_type); 1178 DownloadDangerType danger_type, 1198 << " " << danger_type << " " << DebugString(true); 1202 SetDangerType(danger_type); 1630 void DownloadItemImpl::SetDangerType(DownloadDangerType danger_type) { argument 110 DownloadItemImpl(DownloadItemImplDelegate* delegate, uint32 download_id, const base::FilePath& current_path, const base::FilePath& target_path, const std::vector<GURL>& url_chain, const GURL& referrer_url, const std::string& mime_type, const std::string& original_mime_type, const base::Time& start_time, const base::Time& end_time, const std::string& etag, const std::string& last_modified, int64 received_bytes, int64 total_bytes, DownloadItem::DownloadState state, DownloadDangerType danger_type, DownloadInterruptReason interrupt_reason, bool opened, const net::BoundNetLog& bound_net_log) argument 1175 OnDownloadTargetDetermined( const base::FilePath& target_path, TargetDisposition disposition, DownloadDangerType danger_type, const base::FilePath& intermediate_path) argument [all...] |
/external/chromium_org/chrome/browser/lifetime/ |
H A D | browser_close_manager_browsertest.cc | 197 content::DownloadDangerType danger_type, 193 SetDangerous( const content::DownloadTargetCallback& callback, const base::FilePath& target_path, content::DownloadItem::TargetDisposition disp, content::DownloadDangerType danger_type, const base::FilePath& intermediate_path) argument
|
/external/chromium_org/chrome/browser/ui/webui/ |
H A D | downloads_dom_handler.cc | 84 // Returns a string constant to be used as the |danger_type| value in 87 // |danger_type| value is only defined if the value of |state| is |DANGEROUS|. 88 const char* GetDangerTypeString(content::DownloadDangerType danger_type) { argument 89 switch (danger_type) { 190 file_value->SetString("danger_type", danger_type_value);
|
/external/chromium_org/chrome/browser/ui/views/download/ |
H A D | download_item_view.cc | 1187 content::DownloadDangerType danger_type = download()->GetDangerType(); local 1188 RecordDangerousDownloadWarningShown(danger_type); 1192 danger_type); 1224 switch (danger_type) {
|
/external/chromium_org/chrome/browser/extensions/api/downloads/ |
H A D | downloads_api_browsertest.cc | 266 content::DownloadDangerType danger_type; member in struct:extensions::__anon3693::DownloadExtensionTest::HistoryDownloadInfo 441 if (history_info[i].danger_type != 444 history_info[i].danger_type); 445 items->at(i)->OnContentCheckCompleted(history_info[i].danger_type);
|
H A D | downloads_api.cc | 518 content::DownloadDangerType danger_type = DangerEnumFromString( local 520 if (danger_type == content::DOWNLOAD_DANGER_TYPE_MAX) { 524 query_out.AddFilter(danger_type);
|