Home
last modified time | relevance | path

Searched refs:interrupt_reason (Results 1 – 25 of 37) sorted by relevance

12

/external/chromium_org/content/public/test/
Dmock_download_manager.cc28 DownloadInterruptReason interrupt_reason, in CreateDownloadItemAdapter() argument
43 interrupt_reason(interrupt_reason), in CreateDownloadItemAdapter()
61 interrupt_reason(rhs.interrupt_reason), in CreateDownloadItemAdapter()
83 interrupt_reason == rhs.interrupt_reason && in operator ==()
114 DownloadInterruptReason interrupt_reason, in CreateDownloadItem() argument
119 received_bytes, total_bytes, state, danger_type, interrupt_reason, in CreateDownloadItem()
Dmock_download_manager.h45 DownloadInterruptReason interrupt_reason; member
64 DownloadInterruptReason interrupt_reason,
119 DownloadInterruptReason interrupt_reason,
Ddownload_test_observer.h285 DownloadInterruptReason interrupt_reason() const { return interrupt_reason_; } in interrupt_reason() function
299 DownloadInterruptReason interrupt_reason);
/external/chromium_org/content/browser/download/
Dbase_file_win.cc343 DownloadInterruptReason interrupt_reason = DOWNLOAD_INTERRUPT_REASON_NONE; in MoveFileAndAdjustPermissions() local
346 interrupt_reason = DOWNLOAD_INTERRUPT_REASON_FILE_FAILED; in MoveFileAndAdjustPermissions()
348 interrupt_reason = MapShFileOperationCodes(result); in MoveFileAndAdjustPermissions()
350 if (interrupt_reason != DOWNLOAD_INTERRUPT_REASON_NONE) in MoveFileAndAdjustPermissions()
351 return LogInterruptReason("SHFileOperation", result, interrupt_reason); in MoveFileAndAdjustPermissions()
352 return interrupt_reason; in MoveFileAndAdjustPermissions()
Ddrag_download_file.cc93 DownloadInterruptReason interrupt_reason) { in OnDownloadStarted() argument
96 DCHECK_NE(DOWNLOAD_INTERRUPT_REASON_NONE, interrupt_reason); in OnDownloadStarted()
100 DCHECK_EQ(DOWNLOAD_INTERRUPT_REASON_NONE, interrupt_reason); in OnDownloadStarted()
Ddownload_resource_handler.cc49 DownloadInterruptReason interrupt_reason) { in CallStartedCBOnUIThread() argument
54 started_cb.Run(item, interrupt_reason); in CallStartedCBOnUIThread()
263 DownloadInterruptReason interrupt_reason) { in CallStartedCB() argument
271 &CallStartedCBOnUIThread, started_cb_, item, interrupt_reason)); in CallStartedCB()
Ddownload_file_unittest.cc255 void SetupFinishStream(DownloadInterruptReason interrupt_reason, in SetupFinishStream() argument
263 .WillOnce(Return(interrupt_reason)) in SetupFinishStream()
269 void FinishStream(DownloadInterruptReason interrupt_reason, in FinishStream() argument
272 SetupFinishStream(interrupt_reason, s1); in FinishStream()
591 DownloadInterruptReason interrupt_reason, in TestRenameCompletionCallback() argument
593 EXPECT_EQ(DOWNLOAD_INTERRUPT_REASON_NONE, interrupt_reason); in TestRenameCompletionCallback()
Ddownload_item_factory.h57 DownloadInterruptReason interrupt_reason,
Ddownload_manager_impl.cc182 DownloadInterruptReason interrupt_reason, in CreatePersistedItem() argument
202 interrupt_reason, in CreatePersistedItem()
636 DownloadInterruptReason interrupt_reason, in CreateDownloadItem() argument
659 interrupt_reason, in CreateDownloadItem()
Ddownload_stats.h206 DownloadInterruptReason interrupt_reason);
Ddownload_resource_handler.h95 DownloadInterruptReason interrupt_reason);
Ddownload_item_impl.cc126 DownloadInterruptReason interrupt_reason, in DownloadItemImpl() argument
145 last_reason_(interrupt_reason), in DownloadItemImpl()
1423 DownloadInterruptReason interrupt_reason) { in OnResumeRequestStarted() argument
1427 DCHECK_EQ(DOWNLOAD_INTERRUPT_REASON_NONE, interrupt_reason); in OnResumeRequestStarted()
1433 DCHECK_NE(DOWNLOAD_INTERRUPT_REASON_NONE, interrupt_reason); in OnResumeRequestStarted()
1434 Interrupt(interrupt_reason); in OnResumeRequestStarted()
Ddownload_item_impl.h69 DownloadInterruptReason interrupt_reason,
348 DownloadInterruptReason interrupt_reason);
/external/chromium_org/chrome/browser/history/
Ddownload_row.cc14 interrupt_reason(content::DOWNLOAD_INTERRUPT_REASON_NONE), in DownloadRow()
34 content::DownloadInterruptReason interrupt_reason, in DownloadRow() argument
53 interrupt_reason(interrupt_reason), in DownloadRow()
Ddownload_row.h40 content::DownloadInterruptReason interrupt_reason,
96 content::DownloadInterruptReason interrupt_reason; member
Ddownload_database.cc392 info->interrupt_reason = static_cast<content::DownloadInterruptReason>( in QueryDownloads()
517 statement.BindInt(column++, static_cast<int>(data.interrupt_reason)); in UpdateDownload()
582 statement_insert.BindInt(column++, info.interrupt_reason); in CreateDownload()
/external/chromium_org/chrome/browser/plugins/
Dplugin_installer.cc115 content::DownloadInterruptReason interrupt_reason) { in DownloadStarted() argument
116 if (interrupt_reason != content::DOWNLOAD_INTERRUPT_REASON_NONE) { in DownloadStarted()
119 interrupt_reason, in DownloadStarted()
120 content::DownloadInterruptReasonToString(interrupt_reason).c_str()); in DownloadStarted()
Dplugin_installer_unittest.cc86 ACTION_P2(InvokeOnStartedCallback, download_item, interrupt_reason) { in ACTION_P2() argument
87 arg0->callback().Run(download_item, interrupt_reason); in ACTION_P2()
Dplugin_installer.h62 content::DownloadInterruptReason interrupt_reason);
/external/chromium_org/content/browser/indexed_db/
Dindexed_db_internals_ui.cc349 DownloadInterruptReason interrupt_reason) { in OnDownloadStarted() argument
351 if (interrupt_reason != DOWNLOAD_INTERRUPT_REASON_NONE) { in OnDownloadStarted()
353 << DownloadInterruptReasonToString(interrupt_reason); in OnDownloadStarted()
Dindexed_db_internals_ui.h56 DownloadInterruptReason interrupt_reason);
/external/chromium_org/chrome/browser/extensions/
Dwebstore_installer.cc442 content::DownloadInterruptReason interrupt_reason) { in OnDownloadStarted() argument
444 DCHECK_NE(content::DOWNLOAD_INTERRUPT_REASON_NONE, interrupt_reason); in OnDownloadStarted()
445 ReportFailure(content::DownloadInterruptReasonToString(interrupt_reason), in OnDownloadStarted()
450 DCHECK_EQ(content::DOWNLOAD_INTERRUPT_REASON_NONE, interrupt_reason); in OnDownloadStarted()
/external/chromium_org/chrome/browser/download/
Ddownload_history_unittest.cc252 infos->at(index).interrupt_reason, in CreateDownloadHistory()
390 content::DownloadInterruptReason interrupt_reason, in InitItem() argument
415 info->interrupt_reason = interrupt_reason; in InitItem()
449 .WillRepeatedly(Return(interrupt_reason)); in InitItem()
683 info.interrupt_reason = content::DOWNLOAD_INTERRUPT_REASON_SERVER_FAILED; in TEST_F()
Ddownload_history.cc162 (previous->interrupt_reason != current.interrupt_reason) || in ShouldUpdateHistory()
278 it->interrupt_reason, in QueryCallback()
/external/chromium_org/content/public/browser/
Ddownload_manager.h155 DownloadInterruptReason interrupt_reason,

12