Home
last modified time | relevance | path

Searched refs:DownloadInterruptReason (Results 1 – 25 of 49) sorted by relevance

12

/external/chromium_org/content/browser/download/
Dbase_file.h53 DownloadInterruptReason Initialize(const base::FilePath& default_directory);
57 DownloadInterruptReason AppendDataToFile(const char* data, size_t data_len);
61 virtual DownloadInterruptReason Rename(const base::FilePath& full_path);
81 DownloadInterruptReason AnnotateWithSourceInformation();
109 DownloadInterruptReason Open();
120 DownloadInterruptReason MoveFileAndAdjustPermissions(
128 DownloadInterruptReason LogNetError(const char* operation, net::Error error);
132 DownloadInterruptReason LogSystemError(const char* operation, int os_error);
136 DownloadInterruptReason LogInterruptReason(
138 DownloadInterruptReason reason);
Dbase_file_win.cc63 DownloadInterruptReason MapShFileOperationCodes(int code) { in MapShFileOperationCodes()
64 DownloadInterruptReason result = DOWNLOAD_INTERRUPT_REASON_NONE; in MapShFileOperationCodes()
264 DownloadInterruptReason MapScanAndSaveErrorCodeToInterruptReason( in MapScanAndSaveErrorCodeToInterruptReason()
295 DownloadInterruptReason BaseFile::MoveFileAndAdjustPermissions( in MoveFileAndAdjustPermissions()
314 DownloadInterruptReason interrupt_reason = DOWNLOAD_INTERRUPT_REASON_NONE; in MoveFileAndAdjustPermissions()
326 DownloadInterruptReason BaseFile::AnnotateWithSourceInformation() { in AnnotateWithSourceInformation()
331 DownloadInterruptReason result = DOWNLOAD_INTERRUPT_REASON_NONE; in AnnotateWithSourceInformation()
Dbase_file.cc65 DownloadInterruptReason BaseFile::Initialize( in Initialize()
96 DownloadInterruptReason BaseFile::AppendDataToFile(const char* data, in AppendDataToFile()
151 DownloadInterruptReason BaseFile::Rename(const base::FilePath& new_path) { in Rename()
153 DownloadInterruptReason rename_result = DOWNLOAD_INTERRUPT_REASON_NONE; in Rename()
220 DownloadInterruptReason BaseFile::AnnotateWithSourceInformation() { in AnnotateWithSourceInformation()
266 DownloadInterruptReason BaseFile::Open() { in Open()
341 DownloadInterruptReason BaseFile::LogNetError( in LogNetError()
350 DownloadInterruptReason BaseFile::LogSystemError( in LogSystemError()
361 DownloadInterruptReason BaseFile::LogInterruptReason( in LogInterruptReason()
364 DownloadInterruptReason reason) { in LogInterruptReason()
Ddownload_item_impl.h67 DownloadInterruptReason interrupt_reason,
105 virtual DownloadInterruptReason GetLastReason() const OVERRIDE;
212 virtual void DestinationError(DownloadInterruptReason reason) OVERRIDE;
316 void OnDownloadFileInitialized(DownloadInterruptReason result);
319 DownloadInterruptReason reason, const base::FilePath& full_path);
331 void OnDownloadRenamedToFinalName(DownloadInterruptReason reason,
348 void Interrupt(DownloadInterruptReason reason);
475 DownloadInterruptReason last_reason_;
524 DownloadInterruptReason destination_error_;
Dsave_file.h28 DownloadInterruptReason Initialize();
29 DownloadInterruptReason AppendDataToFile(const char* data, size_t data_len);
30 DownloadInterruptReason Rename(const base::FilePath& full_path);
Dsave_file.cc37 DownloadInterruptReason SaveFile::Initialize() { in Initialize()
41 DownloadInterruptReason SaveFile::AppendDataToFile(const char* data, in AppendDataToFile()
46 DownloadInterruptReason SaveFile::Rename(const base::FilePath& full_path) { in Rename()
Ddownload_file_unittest.cc51 MOCK_METHOD1(DestinationError, void(DownloadInterruptReason));
113 DownloadInterruptReason* reason_p, in SetInterruptReasonCallback()
114 DownloadInterruptReason reason) { in SetInterruptReasonCallback()
151 DownloadInterruptReason result; in CreateDownloadFile()
214 void SetupFinishStream(DownloadInterruptReason interrupt_reason, in SetupFinishStream()
228 void FinishStream(DownloadInterruptReason interrupt_reason, in FinishStream()
245 DownloadInterruptReason RenameAndUniquify( in RenameAndUniquify()
249 DownloadInterruptReason result_reason(DOWNLOAD_INTERRUPT_REASON_NONE); in RenameAndUniquify()
264 DownloadInterruptReason RenameAndAnnotate( in RenameAndAnnotate()
268 DownloadInterruptReason result_reason(DOWNLOAD_INTERRUPT_REASON_NONE); in RenameAndAnnotate()
[all …]
Ddownload_file_impl.cc67 DownloadInterruptReason result = in Initialize()
93 DownloadInterruptReason DownloadFileImpl::AppendDataToFile( in AppendDataToFile()
120 DownloadInterruptReason reason = file_.Rename(new_path); in RenameAndUniquify()
144 DownloadInterruptReason reason = DOWNLOAD_INTERRUPT_REASON_NONE; in RenameAndAnnotate()
215 DownloadInterruptReason reason = DOWNLOAD_INTERRUPT_REASON_NONE; in StreamActive()
239 reason = static_cast<DownloadInterruptReason>( in StreamActive()
Ddownload_net_log_parameters.h46 base::Value* ItemInterruptedNetLogCallback(DownloadInterruptReason reason,
53 DownloadInterruptReason reason,
95 DownloadInterruptReason reason,
Ddownload_file.h29 typedef base::Callback<void(DownloadInterruptReason reason)>
36 typedef base::Callback<void(DownloadInterruptReason reason,
Ddownload_interrupt_reasons_impl.cc11 DownloadInterruptReason ConvertNetErrorToInterruptReason( in ConvertNetErrorToInterruptReason()
91 std::string InterruptReasonDebugString(DownloadInterruptReason error) { in InterruptReasonDebugString()
Dmock_download_file.h28 MOCK_METHOD2(AppendDataToFile, DownloadInterruptReason(
30 MOCK_METHOD1(Rename, DownloadInterruptReason(
Ddownload_net_log_parameters.cc87 base::Value* ItemInterruptedNetLogCallback(DownloadInterruptReason reason, in ItemInterruptedNetLogCallback()
102 DownloadInterruptReason reason, in ItemResumingNetLogCallback()
196 DownloadInterruptReason reason, in FileInterruptedNetLogCallback()
Dbase_file_linux.cc12 DownloadInterruptReason BaseFile::AnnotateWithSourceInformation() { in AnnotateWithSourceInformation()
Ddownload_interrupt_reasons_impl.h22 DownloadInterruptReason CONTENT_EXPORT ConvertNetErrorToInterruptReason(
Dbase_file_mac.cc12 DownloadInterruptReason BaseFile::AnnotateWithSourceInformation() { in AnnotateWithSourceInformation()
Dbase_file_posix.cc12 DownloadInterruptReason BaseFile::MoveFileAndAdjustPermissions( in MoveFileAndAdjustPermissions()
Ddownload_item_impl.cc113 DownloadInterruptReason interrupt_reason, in DownloadItemImpl()
470 DownloadInterruptReason DownloadItemImpl::GetLastReason() const { in GetLastReason()
1026 void DownloadItemImpl::DestinationError(DownloadInterruptReason reason) { in DestinationError()
1113 DownloadInterruptReason result) { in OnDownloadFileInitialized()
1201 DownloadInterruptReason reason, in OnDownloadRenamedToIntermediateName()
1296 DownloadInterruptReason reason, in OnDownloadRenamedToFinalName()
1394 DownloadInterruptReason reason = in OnResumeRequestStarted()
1403 void DownloadItemImpl::Interrupt(DownloadInterruptReason reason) { in Interrupt()
/external/chromium_org/content/public/test/
Dtest_file_error_injector.cc50 virtual DownloadInterruptReason AppendDataToFile(
61 DownloadInterruptReason ShouldReturnError(
63 DownloadInterruptReason original_error);
73 DownloadInterruptReason* output_error);
90 DownloadInterruptReason overwrite_error, in InitializeErrorCallback()
91 DownloadInterruptReason original_error) { in InitializeErrorCallback()
97 DownloadInterruptReason overwrite_error, in RenameErrorCallback()
98 DownloadInterruptReason original_error, in RenameErrorCallback()
145 DownloadInterruptReason error_to_return = DOWNLOAD_INTERRUPT_REASON_NONE; in Initialize()
169 DownloadInterruptReason DownloadFileWithErrors::AppendDataToFile( in AppendDataToFile()
[all …]
Dmock_download_manager.h42 DownloadInterruptReason interrupt_reason;
59 DownloadInterruptReason interrupt_reason,
112 DownloadInterruptReason interrupt_reason,
Dmock_download_manager.cc26 DownloadInterruptReason interrupt_reason, in CreateDownloadItemAdapter()
106 DownloadInterruptReason interrupt_reason, in CreateDownloadItem()
/external/chromium_org/content/public/browser/
Ddownload_interrupt_reasons.h14 enum DownloadInterruptReason { enum
25 DownloadInterruptReason error);
Ddownload_destination_observer.h30 virtual void DestinationError(DownloadInterruptReason reason) = 0;
/external/chromium_org/chrome/browser/history/
Ddownload_row.h37 content::DownloadInterruptReason interrupt_reason,
87 content::DownloadInterruptReason interrupt_reason;
/external/chromium_org/chrome/browser/download/
Ddownload_item_model_unittest.cc91 void SetupInterruptedDownloadItem(content::DownloadInterruptReason reason) { in SetupInterruptedDownloadItem()
120 content::DownloadInterruptReason reason; in TEST_F()
188 content::DownloadInterruptReason reason; in TEST_F()

12