Home
last modified time | relevance | path

Searched refs:GetTargetFilePath (Results 1 – 25 of 45) sorted by relevance

12

/external/chromium_org/chrome/browser/download/
Ddownload_query_unittest.cc193 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 …]
Ddownload_ui_controller_unittest.cc121 EXPECT_CALL(*item, GetTargetFilePath()) in TEST_F()
135 EXPECT_CALL(*item, GetTargetFilePath()) in TEST_F()
148 EXPECT_CALL(*item, GetTargetFilePath()) in TEST_F()
Dchrome_download_manager_delegate_unittest.cc219 ON_CALL(*item, GetTargetFilePath()) in CreateActiveDownloadItem()
394 EXPECT_CALL(*download_item, GetTargetFilePath()) in TEST_F()
399 EXPECT_CALL(*download_item, GetTargetFilePath()) in TEST_F()
Dchrome_download_manager_delegate.cc137 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()
Ddownload_status_updater_mac.mm260 download->GetFullPath() != download->GetTargetFilePath()) {
272 !download->GetTargetFilePath().empty()) {
274 base::mac::FilePathToNSString(download->GetTargetFilePath());
Ddownload_browsertest.cc967 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 …]
Ddownload_path_reservation_tracker.cc282 last_target_path_(download_item->GetTargetFilePath()) { in DownloadItemObserver()
295 base::FilePath new_target_path = download->GetTargetFilePath(); in OnDownloadUpdated()
Ddownload_ui_controller.cc126 if (item->GetTargetFilePath().empty()) in OnDownloadUpdated()
Ddrag_download_item_views.cc51 base::FilePath full_path = download->GetTargetFilePath(); in DragDownloadItem()
Ddownload_status_updater_win.cc147 download->GetTargetFilePath().value().c_str()); in UpdateAppIconDownloadProgress()
Ddownload_path_reservation_tracker_unittest.cc126 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/
Ddownloads_api_browsertest.cc947 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/
Ddownload_item_mac.mm38 if (download->GetTargetFilePath() != lastFilePath_) {
40 lastFilePath_ = download->GetTargetFilePath();
82 base::FilePath file = download_model_.download()->GetTargetFilePath();
Ddownload_item_drag_mac.mm16 download_util::AddFileToPasteboard(pasteboard, download->GetTargetFilePath());
/external/chromium_org/chrome/browser/safe_browsing/
Ddownload_protection_service_unittest.cc334 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 …]
Ddownload_protection_service.cc310 *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/
Ddownload_handler.cc99 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/
Ddownload_controller_android_impl.cc250 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/
Ddownload_item_impl.cc298 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()
Ddownload_item_impl_unittest.cc276 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()
Ddownload_browsertest.cc776 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/
Ddownload_item.cc505 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/
Ddownloads_dom_handler.cc133 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/
Dmock_download_item.h56 MOCK_CONST_METHOD0(GetTargetFilePath, const base::FilePath&());
/external/chromium_org/chrome/browser/ui/gtk/download/
Ddownload_item_drag.cc53 : url_(net::FilePathToFileURL(item->GetTargetFilePath())), in DragData()

12