download 50 chrome/browser/chromeos/drive/download_handler.cc const DriveUserData* GetDriveUserData(const DownloadItem* download) { download 52 chrome/browser/chromeos/drive/download_handler.cc download->GetUserData(&kDrivePathKey)); download 55 chrome/browser/chromeos/drive/download_handler.cc DriveUserData* GetDriveUserData(DownloadItem* download) { download 56 chrome/browser/chromeos/drive/download_handler.cc return static_cast<DriveUserData*>(download->GetUserData(&kDrivePathKey)); download 96 chrome/browser/chromeos/drive/download_handler.cc DownloadItem* download) { download 99 chrome/browser/chromeos/drive/download_handler.cc return drive_tmp_download_path.IsParent(download->GetTargetFilePath()) && download 100 chrome/browser/chromeos/drive/download_handler.cc download->GetState() != DownloadItem::IN_PROGRESS; download 143 chrome/browser/chromeos/drive/download_handler.cc content::DownloadItem* download, download 147 chrome/browser/chromeos/drive/download_handler.cc SetDownloadParams(drive_path, download); download 164 chrome/browser/chromeos/drive/download_handler.cc DownloadItem* download) { download 165 chrome/browser/chromeos/drive/download_handler.cc if (!download || (download->GetState() != DownloadItem::IN_PROGRESS)) download 169 chrome/browser/chromeos/drive/download_handler.cc download->SetUserData(&kDrivePathKey, new DriveUserData(drive_path)); download 170 chrome/browser/chromeos/drive/download_handler.cc download->SetDisplayName(drive_path.BaseName()); download 171 chrome/browser/chromeos/drive/download_handler.cc } else if (IsDriveDownload(download)) { download 175 chrome/browser/chromeos/drive/download_handler.cc download->SetUserData(&kDrivePathKey, NULL); download 176 chrome/browser/chromeos/drive/download_handler.cc download->SetDisplayName(base::FilePath()); download 181 chrome/browser/chromeos/drive/download_handler.cc const DownloadItem* download) { download 182 chrome/browser/chromeos/drive/download_handler.cc const DriveUserData* data = GetDriveUserData(download); download 189 chrome/browser/chromeos/drive/download_handler.cc base::FilePath DownloadHandler::GetCacheFilePath(const DownloadItem* download) { download 190 chrome/browser/chromeos/drive/download_handler.cc const DriveUserData* data = GetDriveUserData(download); download 194 chrome/browser/chromeos/drive/download_handler.cc bool DownloadHandler::IsDriveDownload(const DownloadItem* download) { download 197 chrome/browser/chromeos/drive/download_handler.cc return GetDriveUserData(download) != NULL; download 201 chrome/browser/chromeos/drive/download_handler.cc const DownloadItem* download, download 204 chrome/browser/chromeos/drive/download_handler.cc util::ExtractDrivePath(GetTargetPath(download)), download 210 chrome/browser/chromeos/drive/download_handler.cc DownloadItem* download) { download 212 chrome/browser/chromeos/drive/download_handler.cc if (IsPersistedDriveDownload(drive_tmp_download_path_, download)) { download 218 chrome/browser/chromeos/drive/download_handler.cc download->GetId())); download 226 chrome/browser/chromeos/drive/download_handler.cc DownloadItem* download = manager->GetDownload(id); download 227 chrome/browser/chromeos/drive/download_handler.cc if (!download) download 229 chrome/browser/chromeos/drive/download_handler.cc download->Remove(); download 233 chrome/browser/chromeos/drive/download_handler.cc DownloadManager* manager, DownloadItem* download) { download 237 chrome/browser/chromeos/drive/download_handler.cc DriveUserData* data = GetDriveUserData(download); download 238 chrome/browser/chromeos/drive/download_handler.cc if (!drive_tmp_download_path_.IsParent(download->GetTargetFilePath()) || download 243 chrome/browser/chromeos/drive/download_handler.cc switch (download->GetState()) { download 248 chrome/browser/chromeos/drive/download_handler.cc UploadDownloadItem(download); download 253 chrome/browser/chromeos/drive/download_handler.cc download->SetUserData(&kDrivePathKey, NULL); download 284 chrome/browser/chromeos/drive/download_handler.cc void DownloadHandler::UploadDownloadItem(DownloadItem* download) { download 285 chrome/browser/chromeos/drive/download_handler.cc DCHECK_EQ(DownloadItem::COMPLETE, download->GetState()); download 289 chrome/browser/chromeos/drive/download_handler.cc util::ExtractDrivePath(GetTargetPath(download)), download 290 chrome/browser/chromeos/drive/download_handler.cc download->GetMimeType(), download 291 chrome/browser/chromeos/drive/download_handler.cc base::Bind(&MoveDownloadedFile, download->GetTargetFilePath(), download 295 chrome/browser/chromeos/drive/download_handler.cc download->GetId(), download 307 chrome/browser/chromeos/drive/download_handler.cc DownloadItem* download = manager->GetDownload(id); download 308 chrome/browser/chromeos/drive/download_handler.cc if (!download) download 310 chrome/browser/chromeos/drive/download_handler.cc DriveUserData* data = GetDriveUserData(download); download 47 chrome/browser/chromeos/drive/download_handler.h content::DownloadItem* download, download 54 chrome/browser/chromeos/drive/download_handler.h content::DownloadItem* download); download 57 chrome/browser/chromeos/drive/download_handler.h base::FilePath GetTargetPath(const content::DownloadItem* download); download 60 chrome/browser/chromeos/drive/download_handler.h base::FilePath GetCacheFilePath(const content::DownloadItem* download); download 63 chrome/browser/chromeos/drive/download_handler.h bool IsDriveDownload(const content::DownloadItem* download); download 67 chrome/browser/chromeos/drive/download_handler.h const content::DownloadItem* download, download 73 chrome/browser/chromeos/drive/download_handler.h content::DownloadItem* download) OVERRIDE; download 75 chrome/browser/chromeos/drive/download_handler.h content::DownloadItem* download) OVERRIDE; download 86 chrome/browser/chromeos/drive/download_handler.h void UploadDownloadItem(content::DownloadItem* download); download 125 chrome/browser/download/chrome_download_manager_delegate.cc const DownloadItem* download, download 132 chrome/browser/download/chrome_download_manager_delegate.cc drive_download_handler->IsDriveDownload(download)) download 133 chrome/browser/download/chrome_download_manager_delegate.cc return drive_download_handler->GetTargetPath(download); download 137 chrome/browser/download/chrome_download_manager_delegate.cc return download->GetTargetFilePath(); download 138 chrome/browser/download/chrome_download_manager_delegate.cc return download->GetFullPath(); download 277 chrome/browser/download/chrome_download_manager_delegate.cc DownloadItem* download, download 282 chrome/browser/download/chrome_download_manager_delegate.cc download->GetId(), download 285 chrome/browser/download/chrome_download_manager_delegate.cc download, download 286 chrome/browser/download/chrome_download_manager_delegate.cc GetPlatformDownloadPath(profile_, download, PLATFORM_TARGET_PATH), download 435 chrome/browser/download/chrome_download_manager_delegate.cc DownloadItem* download) { download 437 chrome/browser/download/chrome_download_manager_delegate.cc GetPlatformDownloadPath(profile_, download, PLATFORM_TARGET_PATH)); download 442 chrome/browser/download/chrome_download_manager_delegate.cc void ChromeDownloadManagerDelegate::OpenDownload(DownloadItem* download) { download 443 chrome/browser/download/chrome_download_manager_delegate.cc DCHECK_EQ(DownloadItem::COMPLETE, download->GetState()); download 444 chrome/browser/download/chrome_download_manager_delegate.cc DCHECK(!download->GetTargetFilePath().empty()); download 445 chrome/browser/download/chrome_download_manager_delegate.cc if (!download->CanOpenDownload()) download 448 chrome/browser/download/chrome_download_manager_delegate.cc if (!DownloadItemModel(download).ShouldPreferOpeningInBrowser()) { download 450 chrome/browser/download/chrome_download_manager_delegate.cc OpenDownloadUsingPlatformHandler(download); download 455 chrome/browser/download/chrome_download_manager_delegate.cc content::WebContents* web_contents = download->GetWebContents(); download 466 chrome/browser/download/chrome_download_manager_delegate.cc net::FilePathToFileURL(download->GetTargetFilePath()), download 480 chrome/browser/download/chrome_download_manager_delegate.cc DownloadItem* download) { download 481 chrome/browser/download/chrome_download_manager_delegate.cc if (!download->CanShowInFolder()) download 484 chrome/browser/download/chrome_download_manager_delegate.cc GetPlatformDownloadPath(profile_, download, PLATFORM_CURRENT_PATH)); download 490 chrome/browser/download/chrome_download_manager_delegate.cc DownloadItem* download, download 496 chrome/browser/download/chrome_download_manager_delegate.cc drive_download_handler->IsDriveDownload(download)) { download 497 chrome/browser/download/chrome_download_manager_delegate.cc drive_download_handler->CheckForFileExistence(download, callback); download 510 chrome/browser/download/chrome_download_manager_delegate.cc base::Bind(&base::PathExists, download->GetTargetFilePath()), download 533 chrome/browser/download/chrome_download_manager_delegate.cc DownloadItem* download, download 545 chrome/browser/download/chrome_download_manager_delegate.cc router->OnDeterminingFilename(download, virtual_path.BaseName(), download 555 chrome/browser/download/chrome_download_manager_delegate.cc content::DownloadItem* download, download 571 chrome/browser/download/chrome_download_manager_delegate.cc download, download 580 chrome/browser/download/chrome_download_manager_delegate.cc DownloadItem* download, download 584 chrome/browser/download/chrome_download_manager_delegate.cc DownloadFilePicker::ShowFilePicker(download, suggested_path, callback); download 588 chrome/browser/download/chrome_download_manager_delegate.cc DownloadItem* download, download 597 chrome/browser/download/chrome_download_manager_delegate.cc virtual_path, download, callback); download 605 chrome/browser/download/chrome_download_manager_delegate.cc DownloadItem* download, download 615 chrome/browser/download/chrome_download_manager_delegate.cc service->IsSupportedDownload(*download, suggested_path); download 617 chrome/browser/download/chrome_download_manager_delegate.cc << download->DebugString(false); download 618 chrome/browser/download/chrome_download_manager_delegate.cc service->CheckDownloadUrl(*download, download 92 chrome/browser/download/chrome_download_manager_delegate.h virtual void OpenDownload(content::DownloadItem* download) OVERRIDE; download 93 chrome/browser/download/chrome_download_manager_delegate.h virtual void ShowDownloadInShell(content::DownloadItem* download) OVERRIDE; download 95 chrome/browser/download/chrome_download_manager_delegate.h content::DownloadItem* download, download 102 chrome/browser/download/chrome_download_manager_delegate.h void OpenDownloadUsingPlatformHandler(content::DownloadItem* download); download 116 chrome/browser/download/chrome_download_manager_delegate.h content::DownloadItem* download, download 120 chrome/browser/download/chrome_download_manager_delegate.h content::DownloadItem* download, download 126 chrome/browser/download/chrome_download_manager_delegate.h content::DownloadItem* download, download 130 chrome/browser/download/chrome_download_manager_delegate.h content::DownloadItem* download, download 134 chrome/browser/download/chrome_download_manager_delegate.h content::DownloadItem* download, download 85 chrome/browser/download/chrome_download_manager_delegate_unittest.cc content::DownloadItem* download, download 93 chrome/browser/download/chrome_download_manager_delegate_unittest.cc content::DownloadItem* download, download 106 chrome/browser/download/chrome_download_manager_delegate_unittest.cc DownloadItem* download, download 110 chrome/browser/download/chrome_download_manager_delegate_unittest.cc base::FilePath return_path = MockPromptUserForDownloadPath(download, download 147 chrome/browser/download/chrome_download_manager_delegate_unittest.cc void DetermineDownloadTarget(DownloadItem* download, download 154 chrome/browser/download/chrome_download_manager_delegate_unittest.cc bool CheckForFileExistence(DownloadItem* download); download 214 chrome/browser/download/download_browsertest.cc virtual bool IsDownloadInFinalState(DownloadItem* download) OVERRIDE { download 215 chrome/browser/download/download_browsertest.cc bool is_resumable_now = download->CanResume(); download 360 chrome/browser/download/download_browsertest.cc DownloadItem* download) { download 362 chrome/browser/download/download_browsertest.cc download->GetState() != DownloadItem::IN_PROGRESS; download 1094 chrome/browser/download/download_browsertest.cc DownloadItem* download = downloads[0]; download 1095 chrome/browser/download/download_browsertest.cc EXPECT_EQ(DownloadItem::INTERRUPTED, download->GetState()); download 1096 chrome/browser/download/download_browsertest.cc EXPECT_EQ(error, download->GetLastReason()); download 1097 chrome/browser/download/download_browsertest.cc return download; download 3077 chrome/browser/download/download_browsertest.cc DownloadItem* download = StartMockDownloadAndInjectError( download 3080 chrome/browser/download/download_browsertest.cc ASSERT_TRUE(download); download 3082 chrome/browser/download/download_browsertest.cc download->Resume(); download 3103 chrome/browser/download/download_browsertest.cc DownloadItem* download = StartMockDownloadAndInjectError( download 3106 chrome/browser/download/download_browsertest.cc ASSERT_TRUE(download); download 3108 chrome/browser/download/download_browsertest.cc download->Resume(); download 3130 chrome/browser/download/download_browsertest.cc DownloadItem* download = StartMockDownloadAndInjectError( download 3133 chrome/browser/download/download_browsertest.cc ASSERT_TRUE(download); download 3138 chrome/browser/download/download_browsertest.cc download->Resume(); download 3156 chrome/browser/download/download_browsertest.cc DownloadItem* download = StartMockDownloadAndInjectError( download 3159 chrome/browser/download/download_browsertest.cc ASSERT_TRUE(download); download 3184 chrome/browser/download/download_browsertest.cc DownloadItem* download = StartMockDownloadAndInjectError( download 3187 chrome/browser/download/download_browsertest.cc ASSERT_TRUE(download); download 3190 chrome/browser/download/download_browsertest.cc error_info.url = download->GetOriginalUrl().spec(); download 3199 chrome/browser/download/download_browsertest.cc download->Resume(); download 3201 chrome/browser/download/download_browsertest.cc ASSERT_EQ(DownloadItem::INTERRUPTED, download->GetState()); download 3203 chrome/browser/download/download_browsertest.cc download->GetLastReason()); download 3211 chrome/browser/download/download_browsertest.cc download->Resume(); download 3213 chrome/browser/download/download_browsertest.cc EXPECT_EQ(DownloadItem::COMPLETE, download->GetState()); download 22 chrome/browser/download/download_browsertest.h virtual bool IsDownloadInFinalState(content::DownloadItem* download) OVERRIDE; download 42 chrome/browser/download/download_danger_prompt.cc virtual void OnDownloadUpdated(content::DownloadItem* download) OVERRIDE; download 63 chrome/browser/download/download_danger_prompt.cc content::DownloadItem* download, download 68 chrome/browser/download/download_danger_prompt.cc download_(download), download 94 chrome/browser/download/download_danger_prompt.cc content::DownloadItem* download) { download 98 chrome/browser/download/download_danger_prompt.cc if (!download->IsDangerous() || download->IsDone()) { download 127 chrome/browser/download/download_danger_prompt_browsertest.cc EXPECT_CALL(download(), IsDangerous()).WillOnce(Return(false)); download 128 chrome/browser/download/download_danger_prompt_browsertest.cc download_observer()->OnDownloadUpdated(&download()); download 134 chrome/browser/download/download_danger_prompt_browsertest.cc EXPECT_CALL(download(), IsDangerous()).WillOnce(Return(true)); download 135 chrome/browser/download/download_danger_prompt_browsertest.cc EXPECT_CALL(download(), IsDone()).WillOnce(Return(true)); download 136 chrome/browser/download/download_danger_prompt_browsertest.cc download_observer()->OnDownloadUpdated(&download()); download 142 chrome/browser/download/download_danger_prompt_browsertest.cc EXPECT_CALL(download(), IsDangerous()).WillOnce(Return(true)); download 143 chrome/browser/download/download_danger_prompt_browsertest.cc EXPECT_CALL(download(), IsDone()).WillOnce(Return(false)); download 144 chrome/browser/download/download_danger_prompt_browsertest.cc download_observer()->OnDownloadUpdated(&download()); download 43 chrome/browser/download/download_item_model.cc static const DownloadItemModelData* Get(const DownloadItem* download); download 47 chrome/browser/download/download_item_model.cc static DownloadItemModelData* GetOrCreate(DownloadItem* download); download 90 chrome/browser/download/download_item_model.cc const DownloadItem* download) { download 91 chrome/browser/download/download_item_model.cc return static_cast<const DownloadItemModelData*>(download->GetUserData(kKey)); download 96 chrome/browser/download/download_item_model.cc DownloadItem* download) { download 98 chrome/browser/download/download_item_model.cc static_cast<DownloadItemModelData*>(download->GetUserData(kKey)); download 101 chrome/browser/download/download_item_model.cc download->SetUserData(kKey, data); download 262 chrome/browser/download/download_item_model.cc DownloadItemModel::DownloadItemModel(DownloadItem* download) download 263 chrome/browser/download/download_item_model.cc : download_(download) {} download 35 chrome/browser/download/download_item_model.h explicit DownloadItemModel(content::DownloadItem* download); download 141 chrome/browser/download/download_item_model.h content::DownloadItem* download() { return download_; } download 60 chrome/browser/download/download_path_reservation_tracker.cc virtual void OnDownloadUpdated(DownloadItem* download) OVERRIDE; download 61 chrome/browser/download/download_path_reservation_tracker.cc virtual void OnDownloadDestroyed(DownloadItem* download) OVERRIDE; download 291 chrome/browser/download/download_path_reservation_tracker.cc void DownloadItemObserver::OnDownloadUpdated(DownloadItem* download) { download 292 chrome/browser/download/download_path_reservation_tracker.cc switch (download->GetState()) { download 295 chrome/browser/download/download_path_reservation_tracker.cc base::FilePath new_target_path = download->GetTargetFilePath(); download 298 chrome/browser/download/download_path_reservation_tracker.cc &UpdateReservation, download, new_target_path)); download 318 chrome/browser/download/download_path_reservation_tracker.cc &RevokeReservation, download)); download 328 chrome/browser/download/download_path_reservation_tracker.cc void DownloadItemObserver::OnDownloadDestroyed(DownloadItem* download) { download 332 chrome/browser/download/download_path_reservation_tracker.cc &RevokeReservation, download)); download 275 chrome/browser/download/download_shelf.cc void DownloadShelf::AddDownload(DownloadItem* download) { download 276 chrome/browser/download/download_shelf.cc DCHECK(download); download 277 chrome/browser/download/download_shelf.cc if (DownloadItemModel(download).ShouldRemoveFromShelfWhenComplete()) { download 285 chrome/browser/download/download_shelf.cc download->GetId()), download 288 chrome/browser/download/download_shelf.cc ShowDownload(download); download 336 chrome/browser/download/download_shelf.cc void DownloadShelf::ShowDownload(DownloadItem* download) { download 337 chrome/browser/download/download_shelf.cc if (download->GetState() == DownloadItem::COMPLETE && download 338 chrome/browser/download/download_shelf.cc DownloadItemModel(download).ShouldRemoveFromShelfWhenComplete()) download 341 chrome/browser/download/download_shelf.cc download->GetBrowserContext())->IsShelfEnabled()) download 347 chrome/browser/download/download_shelf.cc DoAddDownload(download); download 361 chrome/browser/download/download_shelf.cc if (DownloadItemModel(download).ShouldShowDownloadStartedAnimation() && download 374 chrome/browser/download/download_shelf.cc DownloadItem* download = download_manager->GetDownload(download_id); download 375 chrome/browser/download/download_shelf.cc if (!download) download 378 chrome/browser/download/download_shelf.cc ShowDownload(download); download 145 chrome/browser/download/download_shelf.h void AddDownload(content::DownloadItem* download); download 175 chrome/browser/download/download_shelf.h virtual void DoAddDownload(content::DownloadItem* download) = 0; download 191 chrome/browser/download/download_shelf.h void ShowDownload(content::DownloadItem* download); download 239 chrome/browser/download/download_shelf_context_menu.cc void DownloadShelfContextMenu::OnDownloadDestroyed(DownloadItem* download) { download 240 chrome/browser/download/download_shelf_context_menu.cc DCHECK(download_item_ == download); download 68 chrome/browser/download/download_shelf_context_menu.h virtual void OnDownloadDestroyed(content::DownloadItem* download) OVERRIDE; download 138 chrome/browser/download/download_status_updater.cc content::DownloadItem* download) { download 46 chrome/browser/download/download_status_updater.h virtual void UpdateAppIconDownloadProgress(content::DownloadItem* download); download 10 chrome/browser/download/download_status_updater_gtk.cc content::DownloadItem* download) { download 38 chrome/browser/download/download_status_updater_unittest.cc content::DownloadItem* download) OVERRIDE { download 41 chrome/browser/download/download_status_updater_unittest.cc EXPECT_EQ(acceptable_notification_item_, download); download 86 chrome/browser/download/download_status_updater_win.cc content::DownloadItem* download) { download 98 chrome/browser/download/download_status_updater_win.cc if (download->GetState() != content::DownloadItem::COMPLETE) download 101 chrome/browser/download/download_status_updater_win.cc if (download->GetOpenWhenComplete() || download 102 chrome/browser/download/download_status_updater_win.cc download->ShouldOpenFileBasedOnExtension() || download 103 chrome/browser/download/download_status_updater_win.cc download->IsTemporary() || download 104 chrome/browser/download/download_status_updater_win.cc download->GetAutoOpened()) download 108 chrome/browser/download/download_status_updater_win.cc if (download->GetBrowserContext() && download 109 chrome/browser/download/download_status_updater_win.cc download->GetBrowserContext()->IsOffTheRecord()) download 140 chrome/browser/download/download_status_updater_win.cc display_notification(download->GetURL().spec().c_str(), download 147 chrome/browser/download/download_status_updater_win.cc download->GetTargetFilePath().value().c_str()); download 70 chrome/browser/download/download_target_determiner.cc DownloadItem* download, download 80 chrome/browser/download/download_target_determiner.cc danger_type_(download->GetDangerType()), download 83 chrome/browser/download/download_target_determiner.cc download_(download), download 784 chrome/browser/download/download_target_determiner.cc DownloadItem* download) { download 786 chrome/browser/download/download_target_determiner.cc DCHECK_EQ(download_, download); download 791 chrome/browser/download/download_target_determiner.cc void DownloadTargetDeterminer::Start(content::DownloadItem* download, download 799 chrome/browser/download/download_target_determiner.cc new DownloadTargetDeterminer(download, initial_virtual_path, download_prefs, download 73 chrome/browser/download/download_target_determiner.h static void Start(content::DownloadItem* download, download 128 chrome/browser/download/download_target_determiner.h DownloadTargetDeterminer(content::DownloadItem* download, download 276 chrome/browser/download/download_target_determiner.h virtual void OnDownloadDestroyed(content::DownloadItem* download) OVERRIDE; download 73 chrome/browser/download/download_target_determiner_delegate.h virtual void NotifyExtensions(content::DownloadItem* download, download 91 chrome/browser/download/download_target_determiner_delegate.h content::DownloadItem* download, download 100 chrome/browser/download/download_target_determiner_delegate.h content::DownloadItem* download, download 108 chrome/browser/download/download_target_determiner_delegate.h virtual void DetermineLocalPath(content::DownloadItem* download, download 114 chrome/browser/download/download_target_determiner_delegate.h virtual void CheckDownloadUrl(content::DownloadItem* download, download 178 chrome/browser/download/download_target_determiner_unittest.cc DownloadItem* download, download 184 chrome/browser/download/download_target_determiner_unittest.cc DownloadItem* download, const base::FilePath& suggested_path, download 187 chrome/browser/download/download_target_determiner_unittest.cc DownloadItem* download, const base::FilePath& virtual_path, download 450 chrome/browser/download/download_target_determiner_unittest.cc DownloadItem* download, download 460 chrome/browser/download/download_target_determiner_unittest.cc DownloadItem* download, const base::FilePath& suggested_path, download 467 chrome/browser/download/download_target_determiner_unittest.cc DownloadItem* download, const base::FilePath& virtual_path, download 476 chrome/browser/download/download_target_determiner_unittest.cc content::DownloadItem* download, download 490 chrome/browser/download/download_target_determiner_unittest.cc content::DownloadItem* download, download 21 chrome/browser/download/drag_download_item.h void DragDownloadItem(const content::DownloadItem* download, download 34 chrome/browser/download/drag_download_item_views.cc void DragDownloadItem(const content::DownloadItem* download, download 37 chrome/browser/download/drag_download_item_views.cc DCHECK(download); download 38 chrome/browser/download/drag_download_item_views.cc DCHECK_EQ(content::DownloadItem::COMPLETE, download->GetState()); download 44 chrome/browser/download/drag_download_item_views.cc download->GetFileNameToReportUser(), download 48 chrome/browser/download/drag_download_item_views.cc base::FilePath full_path = download->GetTargetFilePath(); download 51 chrome/browser/download/drag_download_item_views.cc Profile* profile = Profile::FromBrowserContext(download->GetBrowserContext()); download 55 chrome/browser/download/drag_download_item_views.cc drive_download_handler->IsDriveDownload(download)) download 56 chrome/browser/download/drag_download_item_views.cc full_path = drive_download_handler->GetCacheFilePath(download); download 60 chrome/browser/download/drag_download_item_views.cc ui::FileInfo(full_path, download->GetFileNameToReportUser())); download 72 chrome/browser/download/save_package_file_picker.cc void OnSavePackageDownloadCreated(content::DownloadItem* download) { download 73 chrome/browser/download/save_package_file_picker.cc ChromeDownloadManagerDelegate::DisableSafeBrowsing(download); download 80 chrome/browser/download/save_package_file_picker.cc content::DownloadItem* download) { download 82 chrome/browser/download/save_package_file_picker.cc drive_path, download); download 83 chrome/browser/download/save_package_file_picker.cc OnSavePackageDownloadCreated(download); download 46 chrome/browser/download/test_download_shelf.cc void TestDownloadShelf::DoAddDownload(content::DownloadItem* download) { download 36 chrome/browser/download/test_download_shelf.h virtual void DoAddDownload(content::DownloadItem* download) OVERRIDE; download 216 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc void DeleteDownloadAndWaitForFlush(DownloadItem* download, download 220 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc download->Remove(); download 243 chrome/browser/extensions/webstore_installer.cc const DownloadItem& download) { download 244 chrome/browser/extensions/webstore_installer.cc return static_cast<const Approval*>(download.GetUserData(kApprovalKey)); download 461 chrome/browser/extensions/webstore_installer.cc void WebstoreInstaller::OnDownloadUpdated(DownloadItem* download) { download 462 chrome/browser/extensions/webstore_installer.cc CHECK_EQ(download_item_, download); download 464 chrome/browser/extensions/webstore_installer.cc switch (download->GetState()) { download 469 chrome/browser/extensions/webstore_installer.cc RecordInterrupt(download); download 474 chrome/browser/extensions/webstore_installer.cc if (!download_crx_util::IsExtensionDownload(*download)) { download 479 chrome/browser/extensions/webstore_installer.cc delegate_->OnExtensionDownloadProgress(id_, download); download 490 chrome/browser/extensions/webstore_installer.cc delegate_->OnExtensionDownloadProgress(id_, download); download 501 chrome/browser/extensions/webstore_installer.cc void WebstoreInstaller::OnDownloadDestroyed(DownloadItem* download) { download 502 chrome/browser/extensions/webstore_installer.cc CHECK_EQ(download_item_, download); download 678 chrome/browser/extensions/webstore_installer.cc void WebstoreInstaller::RecordInterrupt(const DownloadItem* download) const { download 680 chrome/browser/extensions/webstore_installer.cc download->GetLastReason()); download 687 chrome/browser/extensions/webstore_installer.cc download->GetReceivedBytes() / 1024, download 691 chrome/browser/extensions/webstore_installer.cc int64 total_bytes = download->GetTotalBytes(); download 167 chrome/browser/extensions/webstore_installer.h const content::DownloadItem& download); download 215 chrome/browser/extensions/webstore_installer.h virtual void OnDownloadUpdated(content::DownloadItem* download) OVERRIDE; download 216 chrome/browser/extensions/webstore_installer.h virtual void OnDownloadDestroyed(content::DownloadItem* download) OVERRIDE; download 241 chrome/browser/extensions/webstore_installer.h void RecordInterrupt(const content::DownloadItem* download) const; download 171 chrome/browser/history/history_unittest.cc DownloadRow download(base::FilePath(FILE_PATH_LITERAL("current-path")), download 188 chrome/browser/history/history_unittest.cc return db_->CreateDownload(download); download 672 chrome/browser/history/history_unittest.cc DownloadRow download(base::FilePath(FILE_PATH_LITERAL("foo-path")), download 691 chrome/browser/history/history_unittest.cc EXPECT_FALSE(db_->CreateDownload(download)); download 693 chrome/browser/history/history_unittest.cc download.url_chain.push_back(GURL("foo-url")); download 694 chrome/browser/history/history_unittest.cc EXPECT_TRUE(db_->CreateDownload(download)); download 80 chrome/browser/plugins/plugin_installer.cc void PluginInstaller::OnDownloadUpdated(DownloadItem* download) { download 81 chrome/browser/plugins/plugin_installer.cc DownloadItem::DownloadState state = download->GetState(); download 97 chrome/browser/plugins/plugin_installer.cc content::DownloadInterruptReason reason = download->GetLastReason(); download 106 chrome/browser/plugins/plugin_installer.cc download->RemoveObserver(this); download 109 chrome/browser/plugins/plugin_installer.cc void PluginInstaller::OnDownloadDestroyed(DownloadItem* download) { download 112 chrome/browser/plugins/plugin_installer.cc download->RemoveObserver(this); download 34 chrome/browser/plugins/plugin_installer.h virtual void OnDownloadUpdated(content::DownloadItem* download) OVERRIDE; download 35 chrome/browser/plugins/plugin_installer.h virtual void OnDownloadDestroyed(content::DownloadItem* download) OVERRIDE; download 29 chrome/browser/safe_browsing/download_feedback_service.cc static void CreateForDownload(content::DownloadItem* download, download 36 chrome/browser/safe_browsing/download_feedback_service.cc const content::DownloadItem& download); download 60 chrome/browser/safe_browsing/download_feedback_service.cc content::DownloadItem* download, download 65 chrome/browser/safe_browsing/download_feedback_service.cc download->SetUserData(kPingKey, pings); download 70 chrome/browser/safe_browsing/download_feedback_service.cc const content::DownloadItem& download) { download 71 chrome/browser/safe_browsing/download_feedback_service.cc return static_cast<DownloadFeedbackPings*>(download.GetUserData(kPingKey)); download 91 chrome/browser/safe_browsing/download_feedback_service.cc content::DownloadItem* download, download 98 chrome/browser/safe_browsing/download_feedback_service.cc download->GetReceivedBytes() / 1024); download 99 chrome/browser/safe_browsing/download_feedback_service.cc if (download->GetReceivedBytes() > DownloadFeedback::kMaxUploadSize) download 102 chrome/browser/safe_browsing/download_feedback_service.cc DownloadFeedbackPings::CreateForDownload(download, ping, response); download 107 chrome/browser/safe_browsing/download_feedback_service.cc const content::DownloadItem& download) { download 108 chrome/browser/safe_browsing/download_feedback_service.cc return !!DownloadFeedbackPings::FromDownload(download); download 113 chrome/browser/safe_browsing/download_feedback_service.cc const content::DownloadItem& download, download 116 chrome/browser/safe_browsing/download_feedback_service.cc DownloadFeedbackPings* pings = DownloadFeedbackPings::FromDownload(download); download 135 chrome/browser/safe_browsing/download_feedback_service.cc content::DownloadItem* download) { download 139 chrome/browser/safe_browsing/download_feedback_service.cc download->GetDangerType(), download 142 chrome/browser/safe_browsing/download_feedback_service.cc DownloadFeedbackPings* pings = DownloadFeedbackPings::FromDownload(*download); download 145 chrome/browser/safe_browsing/download_feedback_service.cc download->StealDangerousDownload( download 47 chrome/browser/safe_browsing/download_feedback_service.h content::DownloadItem* download, download 52 chrome/browser/safe_browsing/download_feedback_service.h static bool IsEnabledForDownload(const content::DownloadItem& download); download 57 chrome/browser/safe_browsing/download_feedback_service.h const content::DownloadItem& download, download 68 chrome/browser/safe_browsing/download_feedback_service.h void BeginFeedbackForDownload(content::DownloadItem* download); download 383 chrome/browser/safe_browsing/download_protection_service.cc virtual void OnDownloadDestroyed(content::DownloadItem* download) OVERRIDE { download 1250 chrome/browser/ui/browser.cc void Browser::ShowDownload(content::DownloadItem* download) { download 1256 chrome/browser/ui/browser.cc WebContents* source = download->GetWebContents(); download 1258 chrome/browser/ui/browser.cc tab_strip_model_->count() > 1 && !download->IsSavePackageDownload()) { download 1263 chrome/browser/ui/browser.cc if (!DownloadItemModel(download).ShouldShowInShelf()) download 1268 chrome/browser/ui/browser.cc shelf->AddDownload(download); download 473 chrome/browser/ui/browser.h void ShowDownload(content::DownloadItem* download); download 20 chrome/browser/ui/cocoa/download/download_item_button.h @property(assign, nonatomic) base::FilePath download; download 104 chrome/browser/ui/cocoa/download/download_item_controller.h - (content::DownloadItem*)download; download 28 chrome/browser/ui/cocoa/download/download_item_mac.h DownloadItemMac(content::DownloadItem* download, download 35 chrome/browser/ui/cocoa/download/download_item_mac.h virtual void OnDownloadUpdated(content::DownloadItem* download) OVERRIDE; download 36 chrome/browser/ui/cocoa/download/download_item_mac.h virtual void OnDownloadOpened(content::DownloadItem* download) OVERRIDE; download 37 chrome/browser/ui/cocoa/download/download_item_mac.h virtual void OnDownloadDestroyed(content::DownloadItem* download) OVERRIDE; download 115 chrome/browser/ui/cocoa/download/download_shelf_controller.h - (void)add:(DownloadItemController*)download; download 118 chrome/browser/ui/cocoa/download/download_shelf_controller.h - (void)remove:(DownloadItemController*)download; download 121 chrome/browser/ui/cocoa/download/download_shelf_controller.h - (void)downloadWasOpened:(DownloadItemController*)download; download 30 chrome/browser/ui/cocoa/download/download_shelf_mac.h virtual void DoAddDownload(content::DownloadItem* download) OVERRIDE; download 126 chrome/browser/ui/gtk/download/download_item_drag.cc void DragDownloadItem(const content::DownloadItem* download, download 131 chrome/browser/ui/gtk/download/download_item_drag.cc new DownloadItemDrag(download, icon); download 197 chrome/browser/ui/gtk/download/download_item_gtk.cc download()->AddObserver(this); download 204 chrome/browser/ui/gtk/download/download_item_gtk.cc RecordDangerousDownloadWarningShown(download()->GetDangerType()); download 287 chrome/browser/ui/gtk/download/download_item_gtk.cc OnDownloadUpdated(download()); download 296 chrome/browser/ui/gtk/download/download_item_gtk.cc download()->RemoveObserver(this); download 312 chrome/browser/ui/gtk/download/download_item_gtk.cc DCHECK_EQ(download(), download_item); download 327 chrome/browser/ui/gtk/download/download_item_gtk.cc if (download()->GetTargetFilePath() != icon_filepath_) { download 332 chrome/browser/ui/gtk/download/download_item_gtk.cc switch (download()->GetState()) { download 360 chrome/browser/ui/gtk/download/download_item_gtk.cc DownloadItemDrag::SetSource(body_.get(), download(), icon_large_); download 366 chrome/browser/ui/gtk/download/download_item_gtk.cc download()->IsPaused() ? download 378 chrome/browser/ui/gtk/download/download_item_gtk.cc DCHECK_EQ(download(), download_item); download 464 chrome/browser/ui/gtk/download/download_item_gtk.cc if (download()->GetState() == DownloadItem::COMPLETE) download 465 chrome/browser/ui/gtk/download/download_item_gtk.cc DownloadItemDrag::SetSource(body_.get(), download(), icon_large_); download 473 chrome/browser/ui/gtk/download/download_item_gtk.cc icon_filepath_ = download()->GetTargetFilePath(); download 503 chrome/browser/ui/gtk/download/download_item_gtk.cc download()->GetFileNameToReportUser(), font_list, kTextWidth); download 512 chrome/browser/ui/gtk/download/download_item_gtk.cc gfx::ElideFilename(download()->GetFileNameToReportUser(), font_list, download 828 chrome/browser/ui/gtk/download/download_item_gtk.cc void DownloadItemGtk::OnDownloadOpened(DownloadItem* download) { download 843 chrome/browser/ui/gtk/download/download_item_gtk.cc download()->OpenDownload(); download 864 chrome/browser/ui/gtk/download/download_item_gtk.cc DownloadItem::DownloadState state = download()->GetState(); download 939 chrome/browser/ui/gtk/download/download_item_gtk.cc download()->ValidateDangerousDownload(); download 945 chrome/browser/ui/gtk/download/download_item_gtk.cc download()->Remove(); download 50 chrome/browser/ui/gtk/download/download_item_gtk.h virtual void OnDownloadUpdated(content::DownloadItem* download) OVERRIDE; download 51 chrome/browser/ui/gtk/download/download_item_gtk.h virtual void OnDownloadDestroyed(content::DownloadItem* download) OVERRIDE; download 52 chrome/browser/ui/gtk/download/download_item_gtk.h virtual void OnDownloadOpened(content::DownloadItem* download) OVERRIDE; download 68 chrome/browser/ui/gtk/download/download_item_gtk.h content::DownloadItem* download() { return download_model_.download(); } download 16 chrome/browser/ui/gtk/download/download_shelf_context_menu_gtk.cc : DownloadShelfContextMenu(download_item->download(), navigator), download 183 chrome/browser/ui/gtk/download/download_shelf_gtk.cc void DownloadShelfGtk::DoAddDownload(DownloadItem* download) { download 184 chrome/browser/ui/gtk/download/download_shelf_gtk.cc download_items_.push_back(new DownloadItemGtk(this, download)); download 209 chrome/browser/ui/gtk/download/download_shelf_gtk.cc if (download_items_[i]->download()->GetState() == DownloadItem::IN_PROGRESS) download 229 chrome/browser/ui/gtk/download/download_shelf_gtk.cc DownloadItem* download = download_items_[i]->download(); download 230 chrome/browser/ui/gtk/download/download_shelf_gtk.cc DownloadItem::DownloadState state = download->GetState(); download 234 chrome/browser/ui/gtk/download/download_shelf_gtk.cc if (is_transfer_done && !download->IsDangerous()) { download 239 chrome/browser/ui/gtk/download/download_shelf_gtk.cc download->SetOpened(true); download 320 chrome/browser/ui/gtk/download/download_shelf_gtk.cc if (!(*iter)->download()->GetOpened()) download 71 chrome/browser/ui/gtk/download/download_shelf_gtk.h virtual void DoAddDownload(content::DownloadItem* download) OVERRIDE; download 66 chrome/browser/ui/views/download/download_danger_prompt_views.cc virtual void OnDownloadUpdated(content::DownloadItem* download) OVERRIDE; download 224 chrome/browser/ui/views/download/download_danger_prompt_views.cc content::DownloadItem* download) { download 116 chrome/browser/ui/views/download/download_item_view.cc DCHECK(download()); download 117 chrome/browser/ui/views/download/download_item_view.cc download()->AddObserver(this); download 216 chrome/browser/ui/views/download/download_item_view.cc OnDownloadUpdated(download()); download 222 chrome/browser/ui/views/download/download_item_view.cc download()->RemoveObserver(this); download 256 chrome/browser/ui/views/download/download_item_view.cc DCHECK_EQ(download(), download_item); download 268 chrome/browser/ui/views/download/download_item_view.cc switch (download()->GetState()) { download 270 chrome/browser/ui/views/download/download_item_view.cc download()->IsPaused() ? download 322 chrome/browser/ui/views/download/download_item_view.cc void DownloadItemView::OnDownloadDestroyed(DownloadItem* download) { download 326 chrome/browser/ui/views/download/download_item_view.cc void DownloadItemView::OnDownloadOpened(DownloadItem* download) { download 420 chrome/browser/ui/views/download/download_item_view.cc if (download()->GetState() == DownloadItem::COMPLETE) { download 423 chrome/browser/ui/views/download/download_item_view.cc download()->GetTargetFilePath(), IconLoader::SMALL); download 426 chrome/browser/ui/views/download/download_item_view.cc download(), icon, widget ? widget->GetNativeView() : NULL); download 544 chrome/browser/ui/views/download/download_item_view.cc download()->ValidateDangerousDownload(); download 574 chrome/browser/ui/views/download/download_item_view.cc download()->Remove(); download 786 chrome/browser/ui/views/download/download_item_view.cc filename = gfx::ElideFilename(download()->GetFileNameToReportUser(), download 796 chrome/browser/ui/views/download/download_item_view.cc gfx::ElideFilename(download()->GetFileNameToReportUser(), font_list_, download 821 chrome/browser/ui/views/download/download_item_view.cc download()->GetTargetFilePath(), IconLoader::SMALL); download 835 chrome/browser/ui/views/download/download_item_view.cc DownloadItem::DownloadState state = download()->GetState(); download 912 chrome/browser/ui/views/download/download_item_view.cc download()->OpenDownload(); download 925 chrome/browser/ui/views/download/download_item_view.cc download()); download 936 chrome/browser/ui/views/download/download_item_view.cc download()->Remove(); download 942 chrome/browser/ui/views/download/download_item_view.cc last_download_item_path_ = download()->GetTargetFilePath(); download 951 chrome/browser/ui/views/download/download_item_view.cc base::FilePath current_download_path = download()->GetTargetFilePath(); download 1001 chrome/browser/ui/views/download/download_item_view.cc new DownloadShelfContextMenuView(download(), shelf_->GetNavigator())); download 1109 chrome/browser/ui/views/download/download_item_view.cc DCHECK(download()->GetDangerType() == download 1150 chrome/browser/ui/views/download/download_item_view.cc content::DownloadDangerType danger_type = download()->GetDangerType(); download 1318 chrome/browser/ui/views/download/download_item_view.cc download()->GetFileNameToReportUser().LossyDisplayName(); download 58 chrome/browser/ui/views/download/download_item_view.h DownloadItemView(content::DownloadItem* download, DownloadShelfView* parent); download 70 chrome/browser/ui/views/download/download_item_view.h content::DownloadItem* download() { return model_.download(); } download 73 chrome/browser/ui/views/download/download_item_view.h virtual void OnDownloadUpdated(content::DownloadItem* download) OVERRIDE; download 74 chrome/browser/ui/views/download/download_item_view.h virtual void OnDownloadOpened(content::DownloadItem* download) OVERRIDE; download 75 chrome/browser/ui/views/download/download_item_view.h virtual void OnDownloadDestroyed(content::DownloadItem* download) OVERRIDE; download 125 chrome/browser/ui/views/download/download_shelf_view.cc void DownloadShelfView::DoAddDownload(DownloadItem* download) { download 126 chrome/browser/ui/views/download/download_shelf_view.cc DownloadItemView* view = new DownloadItemView(download, this); download 380 chrome/browser/ui/views/download/download_shelf_view.cc if (download_views_[i]->download()->GetState() == DownloadItem::IN_PROGRESS) download 401 chrome/browser/ui/views/download/download_shelf_view.cc DownloadItem* download = download_views_[i]->download(); download 402 chrome/browser/ui/views/download/download_shelf_view.cc DownloadItem::DownloadState state = download->GetState(); download 406 chrome/browser/ui/views/download/download_shelf_view.cc if (is_transfer_done && !download->IsDangerous()) { download 411 chrome/browser/ui/views/download/download_shelf_view.cc download->SetOpened(true); download 419 chrome/browser/ui/views/download/download_shelf_view.cc if (!download_views_[i]->download()->GetOpened()) download 96 chrome/browser/ui/views/download/download_shelf_view.h virtual void DoAddDownload(content::DownloadItem* download) OVERRIDE; download 100 chrome/browser/ui/webui/downloads_dom_handler.h virtual void CallDownloadUpdated(const base::ListValue& download); download 97 chrome/browser/ui/webui/downloads_dom_handler_browsertest.cc virtual void CallDownloadUpdated(const base::ListValue& download) OVERRIDE { download 98 chrome/browser/ui/webui/downloads_dom_handler_browsertest.cc download_updated_.reset(download.DeepCopy()); download 390 content/browser/download/download_browsertest.cc RecordingDownloadObserver(DownloadItem* download) download 391 content/browser/download/download_browsertest.cc : download_(download) { download 392 content/browser/download/download_browsertest.cc last_state_.state = download->GetState(); download 393 content/browser/download/download_browsertest.cc last_state_.bytes_received = download->GetReceivedBytes(); download 412 content/browser/download/download_browsertest.cc virtual void OnDownloadUpdated(DownloadItem* download) OVERRIDE { download 413 content/browser/download/download_browsertest.cc DCHECK_EQ(download_, download); download 414 content/browser/download/download_browsertest.cc DownloadItem::DownloadState state = download->GetState(); download 415 content/browser/download/download_browsertest.cc int bytes = download->GetReceivedBytes(); download 423 content/browser/download/download_browsertest.cc virtual void OnDownloadDestroyed(DownloadItem* download) OVERRIDE { download 424 content/browser/download/download_browsertest.cc DCHECK_EQ(download_, download); download 463 content/browser/download/download_browsertest.cc DownloadItem* download) OVERRIDE { download 465 content/browser/download/download_browsertest.cc item_ = download; download 489 content/browser/download/download_browsertest.cc bool DataReceivedFilter(int number_of_bytes, DownloadItem* download) { download 490 content/browser/download/download_browsertest.cc return download->GetReceivedBytes() >= number_of_bytes; download 494 content/browser/download/download_browsertest.cc bool DownloadCompleteFilter(DownloadItem* download) { download 495 content/browser/download/download_browsertest.cc return download->GetState() == DownloadItem::COMPLETE; download 500 content/browser/download/download_browsertest.cc bool InitialSizeFilter(int* download_size, DownloadItem* download) { download 501 content/browser/download/download_browsertest.cc if (download->GetState() != DownloadItem::IN_PROGRESS) download 504 content/browser/download/download_browsertest.cc *download_size = download->GetReceivedBytes(); download 639 content/browser/download/download_browsertest.cc void WaitForData(DownloadItem* download, int size) { download 641 content/browser/download/download_browsertest.cc download, base::Bind(&DataReceivedFilter, size)); download 643 content/browser/download/download_browsertest.cc ASSERT_EQ(size, download->GetReceivedBytes()); download 644 content/browser/download/download_browsertest.cc ASSERT_EQ(DownloadItem::IN_PROGRESS, download->GetState()); download 650 content/browser/download/download_browsertest.cc void ReleaseRSTAndConfirmInterruptForResume(DownloadItem* download) { download 655 content/browser/download/download_browsertest.cc EXPECT_EQ(DownloadItem::INTERRUPTED, download->GetState()); download 661 content/browser/download/download_browsertest.cc DownloadItem* download, bool file_exists, download 666 content/browser/download/download_browsertest.cc EXPECT_EQ(received_bytes, download->GetReceivedBytes()); download 667 content/browser/download/download_browsertest.cc EXPECT_EQ(total_bytes, download->GetTotalBytes()); download 669 content/browser/download/download_browsertest.cc download->GetFullPath().BaseName().value()); download 671 content/browser/download/download_browsertest.cc (!download->GetFullPath().empty() && download 672 content/browser/download/download_browsertest.cc base::PathExists(download->GetFullPath()))); download 677 content/browser/download/download_browsertest.cc download->GetFullPath(), &file_contents)); download 1032 content/browser/download/download_browsertest.cc DownloadItem* download(StartDownloadAndReturnItem(url)); download 1033 content/browser/download/download_browsertest.cc WaitForData(download, GetSafeBufferChunk()); download 1037 content/browser/download/download_browsertest.cc download->Resume(); download 1038 content/browser/download/download_browsertest.cc ASSERT_EQ(GetSafeBufferChunk(), download->GetReceivedBytes()); download 1039 content/browser/download/download_browsertest.cc ASSERT_EQ(DownloadItem::IN_PROGRESS, download->GetState()); download 1042 content/browser/download/download_browsertest.cc ReleaseRSTAndConfirmInterruptForResume(download); download 1044 content/browser/download/download_browsertest.cc download, true, GetSafeBufferChunk(), GetSafeBufferChunk() * 3, download 1052 content/browser/download/download_browsertest.cc download, base::Bind(&InitialSizeFilter, &initial_size)); download 1053 content/browser/download/download_browsertest.cc download->Resume(); download 1059 content/browser/download/download_browsertest.cc WaitForData(download, GetSafeBufferChunk() * 2); download 1062 content/browser/download/download_browsertest.cc ReleaseRSTAndConfirmInterruptForResume(download); download 1064 content/browser/download/download_browsertest.cc download, true, GetSafeBufferChunk() * 2, GetSafeBufferChunk() * 3, download 1069 content/browser/download/download_browsertest.cc download, base::Bind(DownloadCompleteFilter)); download 1070 content/browser/download/download_browsertest.cc download->Resume(); download 1074 content/browser/download/download_browsertest.cc download, true, GetSafeBufferChunk() * 3, GetSafeBufferChunk() * 3, download 1078 content/browser/download/download_browsertest.cc download->Resume(); download 1079 content/browser/download/download_browsertest.cc ASSERT_EQ(GetSafeBufferChunk() * 3, download->GetReceivedBytes()); download 1080 content/browser/download/download_browsertest.cc ASSERT_EQ(DownloadItem::COMPLETE, download->GetState()); download 1082 content/browser/download/download_browsertest.cc ASSERT_EQ(GetSafeBufferChunk() * 3, download->GetReceivedBytes()); download 1083 content/browser/download/download_browsertest.cc ASSERT_EQ(DownloadItem::COMPLETE, download->GetState()); download 1101 content/browser/download/download_browsertest.cc DownloadItem* download(StartDownloadAndReturnItem(url)); download 1102 content/browser/download/download_browsertest.cc WaitForData(download, GetSafeBufferChunk()); download 1104 content/browser/download/download_browsertest.cc RecordingDownloadObserver recorder(download); download 1106 content/browser/download/download_browsertest.cc ReleaseRSTAndConfirmInterruptForResume(download); download 1108 content/browser/download/download_browsertest.cc download, true, GetSafeBufferChunk(), GetSafeBufferChunk() * 3, download 1112 content/browser/download/download_browsertest.cc download, base::Bind(DownloadCompleteFilter)); download 1113 content/browser/download/download_browsertest.cc download->Resume(); download 1117 content/browser/download/download_browsertest.cc download, true, GetSafeBufferChunk() * 3, GetSafeBufferChunk() * 3, download 1149 content/browser/download/download_browsertest.cc DownloadItem* download(StartDownloadAndReturnItem(url)); download 1150 content/browser/download/download_browsertest.cc WaitForData(download, GetSafeBufferChunk()); download 1152 content/browser/download/download_browsertest.cc RecordingDownloadObserver recorder(download); download 1154 content/browser/download/download_browsertest.cc ReleaseRSTAndConfirmInterruptForResume(download); download 1156 content/browser/download/download_browsertest.cc download, true, GetSafeBufferChunk(), GetSafeBufferChunk() * 3, download 1158 content/browser/download/download_browsertest.cc EXPECT_EQ("BadPrecondition2", download->GetETag()); download 1161 content/browser/download/download_browsertest.cc download, base::Bind(DownloadCompleteFilter)); download 1162 content/browser/download/download_browsertest.cc download->Resume(); download 1166 content/browser/download/download_browsertest.cc download, true, GetSafeBufferChunk() * 3, GetSafeBufferChunk() * 3, download 1168 content/browser/download/download_browsertest.cc EXPECT_EQ("BadPrecondition0", download->GetETag()); download 1201 content/browser/download/download_browsertest.cc DownloadItem* download(StartDownloadAndReturnItem(url)); download 1202 content/browser/download/download_browsertest.cc WaitForData(download, GetSafeBufferChunk()); download 1204 content/browser/download/download_browsertest.cc RecordingDownloadObserver recorder(download); download 1206 content/browser/download/download_browsertest.cc ReleaseRSTAndConfirmInterruptForResume(download); download 1208 content/browser/download/download_browsertest.cc download, false, GetSafeBufferChunk(), GetSafeBufferChunk() * 3, download 1212 content/browser/download/download_browsertest.cc download, base::Bind(DownloadCompleteFilter)); download 1213 content/browser/download/download_browsertest.cc download->Resume(); download 1217 content/browser/download/download_browsertest.cc download, true, GetSafeBufferChunk() * 3, GetSafeBufferChunk() * 3, download 1245 content/browser/download/download_browsertest.cc DownloadItem* download(StartDownloadAndReturnItem(url)); download 1246 content/browser/download/download_browsertest.cc WaitForData(download, GetSafeBufferChunk()); download 1248 content/browser/download/download_browsertest.cc RecordingDownloadObserver recorder(download); download 1250 content/browser/download/download_browsertest.cc ReleaseRSTAndConfirmInterruptForResume(download); download 1252 content/browser/download/download_browsertest.cc download, true, GetSafeBufferChunk(), GetSafeBufferChunk() * 3, download 1256 content/browser/download/download_browsertest.cc base::DeleteFile(download->GetFullPath(), false); download 1259 content/browser/download/download_browsertest.cc download, base::Bind(DownloadCompleteFilter)); download 1260 content/browser/download/download_browsertest.cc download->Resume(); download 1264 content/browser/download/download_browsertest.cc download, true, GetSafeBufferChunk() * 3, GetSafeBufferChunk() * 3, download 1305 content/browser/download/download_browsertest.cc DownloadItem* download(StartDownloadAndReturnItem(url)); download 1307 content/browser/download/download_browsertest.cc ASSERT_EQ(DownloadItem::INTERRUPTED, download->GetState()); download 1309 content/browser/download/download_browsertest.cc download->GetLastReason()); download 1310 content/browser/download/download_browsertest.cc EXPECT_EQ(0, download->GetReceivedBytes()); download 1311 content/browser/download/download_browsertest.cc EXPECT_TRUE(download->GetFullPath().empty()); download 1312 content/browser/download/download_browsertest.cc EXPECT_TRUE(download->GetTargetFilePath().empty()); download 1327 content/browser/download/download_browsertest.cc download, base::Bind(DownloadCompleteFilter)); download 1328 content/browser/download/download_browsertest.cc download->Resume(); download 1330 content/browser/download/download_browsertest.cc EXPECT_EQ(download->GetState(), DownloadItem::COMPLETE); download 1356 content/browser/download/download_browsertest.cc DownloadItem* download(StartDownloadAndReturnItem(url)); download 1358 content/browser/download/download_browsertest.cc ASSERT_EQ(DownloadItem::INTERRUPTED, download->GetState()); download 1360 content/browser/download/download_browsertest.cc download->GetLastReason()); download 1361 content/browser/download/download_browsertest.cc EXPECT_TRUE(download->GetFullPath().empty()); download 1365 content/browser/download/download_browsertest.cc EXPECT_FALSE(download->GetTargetFilePath().empty()); download 1380 content/browser/download/download_browsertest.cc download, base::Bind(DownloadCompleteFilter)); download 1381 content/browser/download/download_browsertest.cc download->Resume(); download 1383 content/browser/download/download_browsertest.cc EXPECT_EQ(download->GetState(), DownloadItem::COMPLETE); download 1409 content/browser/download/download_browsertest.cc DownloadItem* download(StartDownloadAndReturnItem(url)); download 1411 content/browser/download/download_browsertest.cc ASSERT_EQ(DownloadItem::INTERRUPTED, download->GetState()); download 1413 content/browser/download/download_browsertest.cc download->GetLastReason()); download 1414 content/browser/download/download_browsertest.cc EXPECT_TRUE(download->GetFullPath().empty()); download 1416 content/browser/download/download_browsertest.cc EXPECT_FALSE(download->GetTargetFilePath().empty()); download 1431 content/browser/download/download_browsertest.cc download, base::Bind(DownloadCompleteFilter)); download 1432 content/browser/download/download_browsertest.cc download->Resume(); download 1434 content/browser/download/download_browsertest.cc EXPECT_EQ(download->GetState(), DownloadItem::COMPLETE); download 1448 content/browser/download/download_browsertest.cc DownloadItem* download(StartDownloadAndReturnItem(url1)); download 1449 content/browser/download/download_browsertest.cc WaitForData(download, GetSafeBufferChunk()); download 1451 content/browser/download/download_browsertest.cc ReleaseRSTAndConfirmInterruptForResume(download); download 1453 content/browser/download/download_browsertest.cc download, true, GetSafeBufferChunk(), GetSafeBufferChunk() * 3, download 1456 content/browser/download/download_browsertest.cc base::FilePath intermediate_path(download->GetFullPath()); download 1460 content/browser/download/download_browsertest.cc download->Cancel(true /* user_cancel */); download 1466 content/browser/download/download_browsertest.cc EXPECT_TRUE(download->GetFullPath().empty()); download 1481 content/browser/download/download_browsertest.cc DownloadItem* download(StartDownloadAndReturnItem(url1)); download 1482 content/browser/download/download_browsertest.cc WaitForData(download, GetSafeBufferChunk()); download 1483 content/browser/download/download_browsertest.cc ReleaseRSTAndConfirmInterruptForResume(download); download 1485 content/browser/download/download_browsertest.cc download, true, GetSafeBufferChunk(), GetSafeBufferChunk() * 3, download 1488 content/browser/download/download_browsertest.cc base::FilePath intermediate_path(download->GetFullPath()); download 1492 content/browser/download/download_browsertest.cc download->Remove(); download 1508 content/browser/download/download_browsertest.cc DownloadItem* download(StartDownloadAndReturnItem(url2)); download 1512 content/browser/download/download_browsertest.cc base::FilePath target_path(download->GetTargetFilePath()); download 1514 content/browser/download/download_browsertest.cc download->Remove(); download 1536 content/browser/download/download_browsertest.cc DownloadItem* download(StartDownloadAndReturnItem(url)); download 1537 content/browser/download/download_browsertest.cc WaitForData(download, GetSafeBufferChunk()); download 1541 content/browser/download/download_browsertest.cc ReleaseRSTAndConfirmInterruptForResume(download); download 1543 content/browser/download/download_browsertest.cc download, true, GetSafeBufferChunk(), GetSafeBufferChunk() * 3, download 1546 content/browser/download/download_browsertest.cc base::FilePath intermediate_path(download->GetFullPath()); download 1553 content/browser/download/download_browsertest.cc download->Resume(); download 1554 content/browser/download/download_browsertest.cc download->Remove(); download 1583 content/browser/download/download_browsertest.cc DownloadItem* download(StartDownloadAndReturnItem(url)); download 1584 content/browser/download/download_browsertest.cc WaitForData(download, GetSafeBufferChunk()); download 1588 content/browser/download/download_browsertest.cc ReleaseRSTAndConfirmInterruptForResume(download); download 1590 content/browser/download/download_browsertest.cc download, true, GetSafeBufferChunk(), GetSafeBufferChunk() * 3, download 1593 content/browser/download/download_browsertest.cc base::FilePath intermediate_path(download->GetFullPath()); download 1600 content/browser/download/download_browsertest.cc download->Resume(); download 1601 content/browser/download/download_browsertest.cc download->Cancel(true); download 1607 content/browser/download/download_browsertest.cc EXPECT_TRUE(download->GetFullPath().empty()); download 1630 content/browser/download/download_browsertest.cc std::string download(base::StringPrintf( download 1632 content/browser/download/download_browsertest.cc GURL url(test_server()->GetURL("server-redirect?" + download)); download 1653 content/browser/download/download_browsertest.cc GURL(download))); download 31 content/browser/download/download_item_impl_delegate.cc DownloadItemImpl* download, const DownloadTargetCallback& callback) { download 33 content/browser/download/download_item_impl_delegate.cc base::FilePath target_path(download->GetForcedFilePath()); download 41 content/browser/download/download_item_impl_delegate.cc DownloadItemImpl* download, download 47 content/browser/download/download_item_impl_delegate.cc DownloadItemImpl* download, const ShouldOpenDownloadCallback& callback) { download 66 content/browser/download/download_item_impl_delegate.cc void DownloadItemImplDelegate::UpdatePersistence(DownloadItemImpl* download) {} download 68 content/browser/download/download_item_impl_delegate.cc void DownloadItemImplDelegate::OpenDownload(DownloadItemImpl* download) {} download 70 content/browser/download/download_item_impl_delegate.cc void DownloadItemImplDelegate::ShowDownloadInShell(DownloadItemImpl* download) { download 73 content/browser/download/download_item_impl_delegate.cc void DownloadItemImplDelegate::DownloadRemoved(DownloadItemImpl* download) {} download 76 content/browser/download/download_item_impl_delegate.cc DownloadItemImpl* download) const {} download 45 content/browser/download/download_item_impl_delegate.h DownloadItemImpl* download, const DownloadTargetCallback& callback); download 52 content/browser/download/download_item_impl_delegate.h DownloadItemImpl* download, download 58 content/browser/download/download_item_impl_delegate.h DownloadItemImpl* download, const ShouldOpenDownloadCallback& callback); download 78 content/browser/download/download_item_impl_delegate.h virtual void UpdatePersistence(DownloadItemImpl* download); download 81 content/browser/download/download_item_impl_delegate.h virtual void OpenDownload(DownloadItemImpl* download); download 84 content/browser/download/download_item_impl_delegate.h virtual void ShowDownloadInShell(DownloadItemImpl* download); download 88 content/browser/download/download_item_impl_delegate.h virtual void DownloadRemoved(DownloadItemImpl* download); download 91 content/browser/download/download_item_impl_delegate.h virtual void AssertStateConsistent(DownloadItemImpl* download) const; download 128 content/browser/download/download_item_impl_unittest.cc virtual void OnDownloadRemoved(DownloadItem* download) OVERRIDE { download 130 content/browser/download/download_item_impl_unittest.cc << " download = " << download->DebugString(false); download 134 content/browser/download/download_item_impl_unittest.cc virtual void OnDownloadUpdated(DownloadItem* download) OVERRIDE { download 136 content/browser/download/download_item_impl_unittest.cc << " download = " << download->DebugString(false); download 138 content/browser/download/download_item_impl_unittest.cc DownloadItem::DownloadState new_state = download->GetState(); download 150 content/browser/download/download_item_impl_unittest.cc virtual void OnDownloadOpened(DownloadItem* download) OVERRIDE { download 152 content/browser/download/download_item_impl_unittest.cc << " download = " << download->DebugString(false); download 155 content/browser/download/download_item_impl_unittest.cc virtual void OnDownloadDestroyed(DownloadItem* download) OVERRIDE { download 157 content/browser/download/download_item_impl_unittest.cc << " download = " << download->DebugString(false); download 229 content/browser/download/download_item_impl_unittest.cc DownloadItemImpl* download = download 232 content/browser/download/download_item_impl_unittest.cc allocated_downloads_.insert(download); download 233 content/browser/download/download_item_impl_unittest.cc return download; download 251 content/browser/download/download_manager_impl.cc DownloadItemImpl* download = download 253 content/browser/download/download_manager_impl.cc downloads_[id] = download; download 254 content/browser/download/download_manager_impl.cc return download; download 338 content/browser/download/download_manager_impl.cc DownloadItemImpl* download = it->second; download 339 content/browser/download/download_manager_impl.cc if (download->GetState() == DownloadItem::IN_PROGRESS) download 340 content/browser/download/download_manager_impl.cc download->Cancel(false); download 383 content/browser/download/download_manager_impl.cc DownloadItemImpl* download = NULL; download 385 content/browser/download/download_manager_impl.cc download = CreateActiveItem(id, *info); download 399 content/browser/download/download_manager_impl.cc download = item_iterator->second; download 400 content/browser/download/download_manager_impl.cc DCHECK_EQ(DownloadItem::INTERRUPTED, download->GetState()); download 401 content/browser/download/download_manager_impl.cc download->MergeOriginInfoOnResume(*info); download 418 content/browser/download/download_manager_impl.cc stream.Pass(), download->GetBoundNetLog(), download 419 content/browser/download/download_manager_impl.cc download->DestinationObserverAsWeakPtr())); download 429 content/browser/download/download_manager_impl.cc download->Start(download_file.Pass(), req_handle.Pass()); download 437 content/browser/download/download_manager_impl.cc FOR_EACH_OBSERVER(Observer, observers_, OnDownloadCreated(this, download)); download 440 content/browser/download/download_manager_impl.cc on_started.Run(download, DOWNLOAD_INTERRUPT_REASON_NONE); download 554 content/browser/download/download_manager_impl.cc void DownloadManagerImpl::DownloadRemoved(DownloadItemImpl* download) { download 555 content/browser/download/download_manager_impl.cc if (!download) download 558 content/browser/download/download_manager_impl.cc uint32 download_id = download->GetId(); download 561 content/browser/download/download_manager_impl.cc delete download; download 569 content/browser/download/download_manager_impl.cc DownloadItemImpl* download = it->second; download 574 content/browser/download/download_manager_impl.cc if (download->GetStartTime() >= remove_begin && download 575 content/browser/download/download_manager_impl.cc (remove_end.is_null() || download->GetStartTime() < remove_end) && download 576 content/browser/download/download_manager_impl.cc (download->GetState() != DownloadItem::IN_PROGRESS)) { download 578 content/browser/download/download_manager_impl.cc download->Remove(); download 697 content/browser/download/download_manager_impl.cc void DownloadManagerImpl::OpenDownload(DownloadItemImpl* download) { download 709 content/browser/download/download_manager_impl.cc delegate_->OpenDownload(download); download 712 content/browser/download/download_manager_impl.cc void DownloadManagerImpl::ShowDownloadInShell(DownloadItemImpl* download) { download 714 content/browser/download/download_manager_impl.cc delegate_->ShowDownloadInShell(download); download 157 content/browser/download/download_manager_impl.h virtual void OpenDownload(DownloadItemImpl* download) OVERRIDE; download 158 content/browser/download/download_manager_impl.h virtual void ShowDownloadInShell(DownloadItemImpl* download) OVERRIDE; download 159 content/browser/download/download_manager_impl.h virtual void DownloadRemoved(DownloadItemImpl* download) OVERRIDE; download 1441 content/browser/download/save_package.cc void SavePackage::OnDownloadDestroyed(DownloadItem* download) { download 153 content/browser/download/save_package.h virtual void OnDownloadDestroyed(DownloadItem* download) OVERRIDE; download 306 content/browser/indexed_db/indexed_db_internals_ui.cc virtual void OnDownloadUpdated(DownloadItem* download) OVERRIDE; download 1321 content/browser/loader/resource_dispatcher_host_impl.cc bool download, download 1336 content/browser/loader/resource_dispatcher_host_impl.cc download, // is_download download 1338 content/browser/loader/resource_dispatcher_host_impl.cc download, // allow_download download 385 content/browser/loader/resource_dispatcher_host_impl.h bool download, download 140 content/browser/loader/resource_request_info_impl.h void set_is_download(bool download) { is_download_ = download; } download 89 content/public/browser/download_item.h virtual void OnDownloadUpdated(DownloadItem* download) {} download 90 content/public/browser/download_item.h virtual void OnDownloadOpened(DownloadItem* download) {} download 91 content/public/browser/download_item.h virtual void OnDownloadRemoved(DownloadItem* download) {} download 96 content/public/browser/download_item.h virtual void OnDownloadDestroyed(DownloadItem* download) {} download 122 content/public/browser/download_manager_delegate.h virtual void OpenDownload(DownloadItem* download) {} download 125 content/public/browser/download_manager_delegate.h virtual void ShowDownloadInShell(DownloadItem* download) {} download 129 content/public/browser/download_manager_delegate.h DownloadItem* download, download 130 content/public/test/download_test_observer.cc void DownloadTestObserver::OnDownloadDestroyed(DownloadItem* download) { download 132 content/public/test/download_test_observer.cc DownloadSet::iterator it = downloads_observed_.find(download); download 135 content/public/test/download_test_observer.cc download->RemoveObserver(this); download 138 content/public/test/download_test_observer.cc void DownloadTestObserver::OnDownloadUpdated(DownloadItem* download) { download 140 content/public/test/download_test_observer.cc if (download->IsDangerous() && download 141 content/public/test/download_test_observer.cc !ContainsKey(dangerous_downloads_seen_, download->GetId())) { download 142 content/public/test/download_test_observer.cc dangerous_downloads_seen_.insert(download->GetId()); download 155 content/public/test/download_test_observer.cc download->GetId())); download 165 content/public/test/download_test_observer.cc download->GetId())); download 176 content/public/test/download_test_observer.cc DownloadInFinalState(download); download 184 content/public/test/download_test_observer.cc if (IsDownloadInFinalState(download)) download 185 content/public/test/download_test_observer.cc DownloadInFinalState(download); download 202 content/public/test/download_test_observer.cc void DownloadTestObserver::DownloadInFinalState(DownloadItem* download) { download 203 content/public/test/download_test_observer.cc if (finished_downloads_.find(download) != finished_downloads_.end()) { download 209 content/public/test/download_test_observer.cc finished_downloads_.insert(download); download 212 content/public/test/download_test_observer.cc states_observed_[download->GetState()]++; // Initializes to 0 the first time. download 227 content/public/test/download_test_observer.cc DownloadItem* download = download_manager_->GetDownload(download_id); download 228 content/public/test/download_test_observer.cc if (download && !download->IsDone()) download 229 content/public/test/download_test_observer.cc download->ValidateDangerousDownload(); download 237 content/public/test/download_test_observer.cc DownloadItem* download = download_manager_->GetDownload(download_id); download 238 content/public/test/download_test_observer.cc if (download && !download->IsDone()) download 239 content/public/test/download_test_observer.cc download->Remove(); download 261 content/public/test/download_test_observer.cc DownloadItem* download) { download 262 content/public/test/download_test_observer.cc return download->IsDone(); download 283 content/public/test/download_test_observer.cc DownloadItem* download) { download 284 content/public/test/download_test_observer.cc return (download->GetState() == DownloadItem::IN_PROGRESS) && download 285 content/public/test/download_test_observer.cc !download->GetTargetFilePath().empty(); download 307 content/public/test/download_test_observer.cc DownloadItem* download) { download 308 content/public/test/download_test_observer.cc return download->GetState() == DownloadItem::INTERRUPTED; download 331 content/public/test/download_test_observer.cc void DownloadTestFlushObserver::OnDownloadDestroyed(DownloadItem* download) { download 333 content/public/test/download_test_observer.cc DownloadSet::iterator it = downloads_observed_.find(download); download 336 content/public/test/download_test_observer.cc download->RemoveObserver(this); download 339 content/public/test/download_test_observer.cc void DownloadTestFlushObserver::OnDownloadUpdated(DownloadItem* download) { download 86 content/public/test/download_test_observer.h virtual void OnDownloadUpdated(DownloadItem* download) OVERRIDE; download 87 content/public/test/download_test_observer.h virtual void OnDownloadDestroyed(DownloadItem* download) OVERRIDE; download 103 content/public/test/download_test_observer.h virtual bool IsDownloadInFinalState(DownloadItem* download) = 0; download 115 content/public/test/download_test_observer.h void DownloadInFinalState(DownloadItem* download); download 184 content/public/test/download_test_observer.h virtual bool IsDownloadInFinalState(DownloadItem* download) OVERRIDE; download 204 content/public/test/download_test_observer.h virtual bool IsDownloadInFinalState(DownloadItem* download) OVERRIDE; download 221 content/public/test/download_test_observer.h virtual bool IsDownloadInFinalState(DownloadItem* download) OVERRIDE; download 248 content/public/test/download_test_observer.h virtual void OnDownloadUpdated(DownloadItem* download) OVERRIDE; download 249 content/public/test/download_test_observer.h virtual void OnDownloadDestroyed(DownloadItem* download) OVERRIDE; download 66 content/shell/browser/shell_download_manager_delegate.cc DownloadItem* download, download 76 content/shell/browser/shell_download_manager_delegate.cc if (!download->GetForcedFilePath().empty()) { download 77 content/shell/browser/shell_download_manager_delegate.cc callback.Run(download->GetForcedFilePath(), download 80 content/shell/browser/shell_download_manager_delegate.cc download->GetForcedFilePath()); download 87 content/shell/browser/shell_download_manager_delegate.cc download->GetId(), download 94 content/shell/browser/shell_download_manager_delegate.cc download->GetURL(), download 95 content/shell/browser/shell_download_manager_delegate.cc download->GetContentDisposition(), download 96 content/shell/browser/shell_download_manager_delegate.cc download->GetSuggestedFilename(), download 97 content/shell/browser/shell_download_manager_delegate.cc download->GetMimeType(), download 26 content/shell/browser/shell_download_manager_delegate.h DownloadItem* download, download 136 ui/base/dragdrop/os_exchange_data.cc void OSExchangeData::SetDownloadFileInfo(const DownloadFileInfo& download) { download 137 ui/base/dragdrop/os_exchange_data.cc provider_->SetDownloadFileInfo(download); download 130 ui/base/dragdrop/os_exchange_data.h virtual void SetDownloadFileInfo(const DownloadFileInfo& download) = 0; download 223 ui/base/dragdrop/os_exchange_data.h void SetDownloadFileInfo(const DownloadFileInfo& download); download 525 ui/base/dragdrop/os_exchange_data_provider_win.cc const OSExchangeData::DownloadFileInfo& download) { download 531 ui/base/dragdrop/os_exchange_data_provider_win.cc if (!download.filename.empty()) download 532 ui/base/dragdrop/os_exchange_data_provider_win.cc storage = GetStorageForFileName(download.filename); download 537 ui/base/dragdrop/os_exchange_data_provider_win.cc info->downloader = download.downloader; download 794 ui/views/controls/textfield/textfield_unittest.cc ui::OSExchangeData::DownloadFileInfo download(base::FilePath(), NULL); download 795 ui/views/controls/textfield/textfield_unittest.cc bad_data.SetDownloadFileInfo(download);