/external/chromium_org/chrome/browser/download/ |
download_item_model.cc | 264 : download_(download) {} 269 if (download_->GetState() != DownloadItem::INTERRUPTED || 270 download_->GetLastReason() == 274 return InterruptReasonMessage(download_->GetLastReason()); 279 switch (download_->GetState()) { 284 if (download_->GetFileExternallyRemoved()) { 294 content::DownloadInterruptReason reason = download_->GetLastReason(); 314 int64 size = download_->GetReceivedBytes(); 332 int64 current_speed = download_->CurrentSpeed(); 338 if (download_->IsPaused()) [all...] |
download_target_determiner.cc | 95 download_(download), 96 is_resumption_(download_->GetLastReason() != 104 DCHECK(download_); 106 download_->AddObserver(this); 113 DCHECK(download_); 115 download_->RemoveObserver(this); 178 bool is_forced_path = !download_->GetForcedFilePath().empty(); 196 download_->GetURL(), 197 download_->GetContentDisposition(), 199 download_->GetSuggestedFilename() [all...] |
download_danger_prompt.cc | 58 content::DownloadItem* download_; member in class:__anon8202::DownloadDangerPromptImpl 73 download_(download), 77 download_->AddObserver(this); 78 RecordOpenedDangerousConfirmDialog(download_->GetDangerType()); 120 switch (download_->GetDangerType()) { 137 switch (download_->GetDangerType()) { 141 download_->GetFileNameToReportUser().LossyDisplayName()); 148 download_->GetFileNameToReportUser().LossyDisplayName()); 153 download_->GetFileNameToReportUser().LossyDisplayName()); 158 download_->GetFileNameToReportUser().LossyDisplayName()) [all...] |
download_danger_prompt_browsertest.cc | 62 testing::Mock::VerifyAndClearExpectations(&download_); 69 content::MockDownloadItem& download() { return download_; } 75 EXPECT_CALL(download_, GetFileNameToReportUser()).WillRepeatedly(Return( 77 EXPECT_CALL(download_, GetDangerType()) 83 &download_, 97 content::MockDownloadItem download_; member in class:DownloadDangerPromptTest
|
download_item_model.h | 155 content::DownloadItem* download() { return download_; } 171 content::DownloadItem* download_; member in class:DownloadItemModel
|
download_target_determiner.h | 314 content::DownloadItem* download_; member in class:DownloadTargetDeterminer
|
/external/chromium_org/chrome/browser/ui/views/download/ |
download_danger_prompt_views.cc | 71 content::DownloadItem* download_; member in class:__anon9867::DownloadDangerPromptViews 84 : download_(item), 89 download_->AddObserver(this); 124 RecordOpenedDangerousConfirmDialog(download_->GetDangerType()); 230 if (!download_->IsDangerous() || download_->IsDone()) { 239 switch (download_->GetDangerType()) { 253 switch (download_->GetDangerType()) { 266 switch (download_->GetDangerType()) { 283 switch (download_->GetDangerType()) [all...] |
/external/chromium_org/content/browser/download/ |
save_package.cc | 145 download_(NULL), 178 download_(NULL), 207 download_(NULL), 233 CHECK(!download_); 329 download_ = item; 330 download_->AddObserver(this); 333 download_created_callback.Run(download_); 356 download_->SetTotalBytes(1); 369 // Hack to avoid touching download_ after user cancel. 372 if (download_->GetState() == DownloadItem::IN_PROGRESS) [all...] |
download_browsertest.cc | 397 : download_(download) { 400 download_->AddObserver(this); 419 DCHECK_EQ(download_, download); 430 DCHECK_EQ(download_, download); 435 if (download_) { 436 download_->RemoveObserver(this); 437 download_ = NULL; 441 DownloadItem* download_; member in class:content::__anon11699::RecordingDownloadObserver [all...] |
save_package.h | 273 DownloadItemImpl* download_; member in class:content::SavePackage
|
/external/chromium_org/chrome/browser/favicon/ |
favicon_handler_unittest.cc | 88 download_.reset(NULL); 97 download_.reset(new Download( 105 bool HasDownload() const { return download_.get() != NULL; } 106 const GURL& GetImageUrl() const { return download_->image_url; } 108 download_->image_sizes = sizes; } 129 scoped_ptr<Download> download_; member in class:__anon8673::DownloadHandler 382 for (std::vector<int>::const_iterator i = download_->image_sizes.begin(); 383 i != download_->image_sizes.end(); ++i) { 386 if (download_->max_image_size != 0 && 387 downloaded_size > download_->max_image_size) [all...] |
/external/chromium_org/chrome/browser/ui/webui/ |
downloads_ui_browsertest.js | 79 file_name: 'download_' + timestamp,
|