/external/chromium_org/chrome/browser/download/ |
D | download_query_unittest.cc | 193 EXPECT_CALL(mock(0), GetTargetFilePath()).WillRepeatedly(ReturnRef( in TEST_F() 196 EXPECT_CALL(mock(1), GetTargetFilePath()).WillRepeatedly(ReturnRef( in TEST_F() 214 EXPECT_CALL(mock(0), GetTargetFilePath()).WillRepeatedly(ReturnRef( in TEST_F() 216 EXPECT_CALL(mock(1), GetTargetFilePath()).WillRepeatedly(ReturnRef( in TEST_F() 242 EXPECT_CALL(mock(0), GetTargetFilePath()).WillRepeatedly(ReturnRef( in TEST_F() 245 EXPECT_CALL(mock(1), GetTargetFilePath()).WillRepeatedly(ReturnRef( in TEST_F() 259 EXPECT_CALL(mock(0), GetTargetFilePath()).WillRepeatedly(ReturnRef( in TEST_F() 262 EXPECT_CALL(mock(1), GetTargetFilePath()).WillRepeatedly(ReturnRef( in TEST_F() 271 EXPECT_CALL(mock(0), GetTargetFilePath()).WillRepeatedly(ReturnRef( in TEST_F() 274 EXPECT_CALL(mock(1), GetTargetFilePath()).WillRepeatedly(ReturnRef( in TEST_F() [all …]
|
D | download_ui_controller_unittest.cc | 121 EXPECT_CALL(*item, GetTargetFilePath()) in TEST_F() 135 EXPECT_CALL(*item, GetTargetFilePath()) in TEST_F() 148 EXPECT_CALL(*item, GetTargetFilePath()) in TEST_F()
|
D | chrome_download_manager_delegate_unittest.cc | 219 ON_CALL(*item, GetTargetFilePath()) in CreateActiveDownloadItem() 394 EXPECT_CALL(*download_item, GetTargetFilePath()) in TEST_F() 399 EXPECT_CALL(*download_item, GetTargetFilePath()) in TEST_F()
|
D | chrome_download_manager_delegate.cc | 137 return download->GetTargetFilePath(); in GetPlatformDownloadPath() 444 DCHECK(!download->GetTargetFilePath().empty()); in OpenDownload() 466 net::FilePathToFileURL(download->GetTargetFilePath()), in OpenDownload() 510 base::Bind(&base::PathExists, download->GetTargetFilePath()), in CheckForFileExistence()
|
D | download_status_updater_mac.mm | 260 download->GetFullPath() != download->GetTargetFilePath()) { 272 !download->GetTargetFilePath().empty()) { 274 base::mac::FilePathToNSString(download->GetTargetFilePath());
|
D | download_browsertest.cc | 967 base::FilePath my_downloaded_file = item->GetTargetFilePath(); in DownloadFilesCheckErrorsLoopBody() 1492 download_items[0]->GetTargetFilePath().BaseName()); in IN_PROC_BROWSER_TEST_F() 1493 ASSERT_TRUE(base::PathExists(download_items[0]->GetTargetFilePath())); in IN_PROC_BROWSER_TEST_F() 1494 EXPECT_TRUE(VerifyFile(download_items[0]->GetTargetFilePath(), in IN_PROC_BROWSER_TEST_F() 1524 download_items[0]->GetTargetFilePath().BaseName()); in IN_PROC_BROWSER_TEST_F() 1525 ASSERT_TRUE(base::PathExists(download_items[0]->GetTargetFilePath())); in IN_PROC_BROWSER_TEST_F() 1526 EXPECT_TRUE(VerifyFile(download_items[0]->GetTargetFilePath(), in IN_PROC_BROWSER_TEST_F() 1952 EXPECT_EQ(file.value(), item->GetTargetFilePath().BaseName().value()); in IN_PROC_BROWSER_TEST_F() 2761 base::FilePath file(download_items[0]->GetTargetFilePath()); in IN_PROC_BROWSER_TEST_F() 2859 base::FilePath target_path(item->GetTargetFilePath()); in IN_PROC_BROWSER_TEST_F() [all …]
|
D | download_path_reservation_tracker.cc | 282 last_target_path_(download_item->GetTargetFilePath()) { in DownloadItemObserver() 295 base::FilePath new_target_path = download->GetTargetFilePath(); in OnDownloadUpdated()
|
D | download_ui_controller.cc | 126 if (item->GetTargetFilePath().empty()) in OnDownloadUpdated()
|
D | drag_download_item_views.cc | 51 base::FilePath full_path = download->GetTargetFilePath(); in DragDownloadItem()
|
D | download_status_updater_win.cc | 147 download->GetTargetFilePath().value().c_str()); in UpdateAppIconDownloadProgress()
|
D | download_path_reservation_tracker_unittest.cc | 126 EXPECT_CALL(*item, GetTargetFilePath()) in CreateDownloadItem() 569 ASSERT_EQ(base::FilePath::StringType(), item->GetTargetFilePath().value()); in TEST_F() 578 EXPECT_CALL(*item, GetTargetFilePath()) in TEST_F()
|
/external/chromium_org/chrome/browser/extensions/api/downloads/ |
D | downloads_api_browsertest.cc | 947 ASSERT_FALSE(download_item->GetTargetFilePath().empty()); in IN_PROC_BROWSER_TEST_F() 956 download_item->GetTargetFilePath(), IconLoader::NORMAL, "foo"), in IN_PROC_BROWSER_TEST_F() 961 download_item->GetTargetFilePath(), IconLoader::SMALL, "foo"), in IN_PROC_BROWSER_TEST_F() 967 download_item->GetTargetFilePath(), IconLoader::NORMAL, "foo"), in IN_PROC_BROWSER_TEST_F() 974 download_item->GetTargetFilePath(), IconLoader::NORMAL, "foo"), in IN_PROC_BROWSER_TEST_F() 979 download_item->GetTargetFilePath(), IconLoader::NORMAL, "foo"), in IN_PROC_BROWSER_TEST_F() 985 ASSERT_FALSE(download_item->GetTargetFilePath().empty()); in IN_PROC_BROWSER_TEST_F() 991 ASSERT_FALSE(download_item->GetTargetFilePath().empty()); in IN_PROC_BROWSER_TEST_F() 996 download_item->GetTargetFilePath(), IconLoader::NORMAL, "foo"), in IN_PROC_BROWSER_TEST_F() 1003 MockedGetFileIconFunction(download_item->GetTargetFilePath(), in IN_PROC_BROWSER_TEST_F() [all …]
|
/external/chromium_org/chrome/browser/ui/cocoa/download/ |
D | download_item_mac.mm | 38 if (download->GetTargetFilePath() != lastFilePath_) { 40 lastFilePath_ = download->GetTargetFilePath(); 82 base::FilePath file = download_model_.download()->GetTargetFilePath();
|
D | download_item_drag_mac.mm | 16 download_util::AddFileToPasteboard(pasteboard, download->GetTargetFilePath());
|
/external/chromium_org/chrome/browser/safe_browsing/ |
D | download_protection_service_unittest.cc | 334 EXPECT_CALL(item, GetTargetFilePath()).WillRepeatedly(ReturnRef(a_exe)); in TEST_F() 349 EXPECT_CALL(item, GetTargetFilePath()).WillRepeatedly(ReturnRef(a_exe)); in TEST_F() 372 EXPECT_CALL(item, GetTargetFilePath()).WillRepeatedly(ReturnRef(a_exe)); in TEST_F() 419 EXPECT_CALL(item, GetTargetFilePath()).WillRepeatedly(ReturnRef(a_exe)); in TEST_F() 461 EXPECT_CALL(item, GetTargetFilePath()).WillRepeatedly(ReturnRef(a_exe)); in TEST_F() 605 EXPECT_CALL(item, GetTargetFilePath()).WillRepeatedly(ReturnRef(a_exe)); in TEST_F() 654 EXPECT_CALL(item, GetTargetFilePath()).WillRepeatedly(ReturnRef(a_zip)); in TEST_F() 735 EXPECT_CALL(item, GetTargetFilePath()).WillRepeatedly(ReturnRef(a_zip)); in TEST_F() 781 EXPECT_CALL(item, GetTargetFilePath()).WillRepeatedly(ReturnRef(a_crx)); in TEST_F() 819 EXPECT_CALL(item, GetTargetFilePath()).WillRepeatedly(ReturnRef(final_path)); in TEST_F() [all …]
|
D | download_protection_service.cc | 310 *item_, item_->GetTargetFilePath(), &reason, &type_)) { in Start() 318 RecordFileExtensionType(item_->GetTargetFilePath()); in Start() 327 RecordFileExtensionType(item_->GetTargetFilePath()); in Start() 332 if (item_->GetTargetFilePath().MatchesExtension( in Start() 337 item_->GetTargetFilePath())); in Start() 413 *item_, item_->GetTargetFilePath())) { in OnURLFetchComplete() 652 item_->GetTargetFilePath().BaseName().AsUTF8Unsafe()); in SendRequest()
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
D | download_handler.cc | 99 return drive_tmp_download_path.IsParent(download->GetTargetFilePath()) && in IsPersistedDriveDownload() 238 if (!drive_tmp_download_path_.IsParent(download->GetTargetFilePath()) || in OnDownloadUpdated() 291 base::Bind(&MoveDownloadedFile, download->GetTargetFilePath(), in UploadDownloadItem()
|
/external/chromium_org/content/browser/android/ |
D | download_controller_android_impl.cc | 250 env, download_item->GetTargetFilePath().BaseName().value()); in OnDownloadStarted() 267 ConvertUTF8ToJavaString(env, item->GetTargetFilePath().value()); in OnDownloadUpdated() 269 env, item->GetTargetFilePath().BaseName().value()); in OnDownloadUpdated() 314 env, item->GetTargetFilePath().BaseName().value()); in OnDangerousDownload()
|
/external/chromium_org/content/browser/download/ |
D | download_item_impl.cc | 298 GetTargetFilePath()); in ValidateDangerousDownload() 385 GetTargetFilePath()); in Cancel() 585 const base::FilePath& DownloadItemImpl::GetTargetFilePath() const { in GetTargetFilePath() function in content::DownloadItemImpl 715 return delegate_->ShouldOpenFileBasedOnExtension(GetTargetFilePath()); in ShouldOpenFileBasedOnExtension() 819 GetTargetFilePath().value().c_str()); in DebugString() 1268 DCHECK(!GetTargetFilePath().empty()); in OnDownloadCompleting() 1292 GetTargetFilePath(), callback)); in OnDownloadCompleting() 1502 if (GetTargetFilePath().empty()) in IsDownloadReadyForCompletion()
|
D | download_item_impl_unittest.cc | 276 EXPECT_TRUE(item->GetTargetFilePath().empty()); in DoIntermediateRename() 778 EXPECT_EQ(final_path, item->GetTargetFilePath()); in TEST_F() 814 EXPECT_EQ(final_path, item->GetTargetFilePath()); in TEST_F() 849 EXPECT_EQ(final_path, item->GetTargetFilePath()); in TEST_F() 957 ASSERT_FALSE(item->GetTargetFilePath().empty()); in TEST_F() 986 ASSERT_FALSE(item->GetTargetFilePath().empty()); in TEST_F() 1019 ASSERT_FALSE(item->GetTargetFilePath().empty()); in TEST_F()
|
D | download_browsertest.cc | 776 base::FilePath file1(download1->GetTargetFilePath()); in IN_PROC_BROWSER_TEST_F() 782 base::FilePath file2(download2->GetTargetFilePath()); in IN_PROC_BROWSER_TEST_F() 1299 EXPECT_TRUE(download->GetTargetFilePath().empty()); in IN_PROC_BROWSER_TEST_F() 1352 EXPECT_FALSE(download->GetTargetFilePath().empty()); in IN_PROC_BROWSER_TEST_F() 1403 EXPECT_FALSE(download->GetTargetFilePath().empty()); in IN_PROC_BROWSER_TEST_F() 1499 base::FilePath target_path(download->GetTargetFilePath()); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium/chrome/browser/download/ |
D | download_item.cc | 505 id(), GetTargetFilePath(), safety_state() == SAFE)); in OnDownloadCompleting() 597 FilePath DownloadItem::GetTargetFilePath() const { in GetTargetFilePath() function in DownloadItem 612 return GetTargetFilePath(); in GetUserVerifiedFilePath()
|
/external/chromium_org/chrome/browser/ui/webui/ |
D | downloads_dom_handler.cc | 133 base::FilePath download_path(download_item->GetTargetFilePath()); in CreateDownloadItemValue() 240 !item.GetTargetFilePath().empty()); in IsDownloadDisplayable() 386 file->GetTargetFilePath(), IconLoader::NORMAL); in HandleDrag()
|
/external/chromium_org/content/public/test/ |
D | mock_download_item.h | 56 MOCK_CONST_METHOD0(GetTargetFilePath, const base::FilePath&());
|
/external/chromium_org/chrome/browser/ui/gtk/download/ |
D | download_item_drag.cc | 53 : url_(net::FilePathToFileURL(item->GetTargetFilePath())), in DragData()
|