Lines Matching refs:final_path
679 base::FilePath final_path(base::FilePath(kDummyPath).AppendASCII("foo.bar"));
680 base::FilePath intermediate_path(final_path.InsertBeforeExtensionASCII("x"));
682 final_path.InsertBeforeExtensionASCII("y"));
687 callback.Run(final_path, DownloadItem::TARGET_DISPOSITION_OVERWRITE,
696 EXPECT_CALL(*download_file, RenameAndAnnotate(final_path, _))
698 final_path));
715 base::FilePath final_path(base::FilePath(kDummyPath).AppendASCII("foo.bar"));
716 base::FilePath intermediate_path(final_path.InsertBeforeExtensionASCII("x"));
718 final_path.InsertBeforeExtensionASCII("y"));
725 callback.Run(final_path, DownloadItem::TARGET_DISPOSITION_OVERWRITE,
765 base::FilePath final_path(base::FilePath(kDummyPath).AppendASCII("foo.bar"));
766 base::FilePath intermediate_path(final_path.InsertBeforeExtensionASCII("x"));
768 final_path.InsertBeforeExtensionASCII("y"));
775 callback.Run(final_path, DownloadItem::TARGET_DISPOSITION_OVERWRITE,
783 EXPECT_EQ(final_path, item->GetTargetFilePath());
800 base::FilePath final_path(base::FilePath(kDummyPath).AppendASCII("foo.bar"));
801 base::FilePath intermediate_path(final_path.InsertBeforeExtensionASCII("x"));
803 final_path.InsertBeforeExtensionASCII("y"));
811 callback.Run(final_path, DownloadItem::TARGET_DISPOSITION_OVERWRITE,
819 EXPECT_EQ(final_path, item->GetTargetFilePath());
835 base::FilePath final_path(base::FilePath(kDummyPath).AppendASCII("foo.bar"));
836 base::FilePath intermediate_path(final_path.InsertBeforeExtensionASCII("x"));
838 final_path.InsertBeforeExtensionASCII("y"));
845 callback.Run(final_path, DownloadItem::TARGET_DISPOSITION_OVERWRITE,
854 EXPECT_EQ(final_path, item->GetTargetFilePath());