Lines Matching defs:target_info
236 const DownloadTargetInfo* target_info);
366 scoped_ptr<DownloadTargetInfo> target_info =
368 VerifyDownloadTarget(test_case, target_info.get());
374 scoped_ptr<DownloadTargetInfo> target_info) {
375 target_info_receiver->swap(target_info);
383 scoped_ptr<DownloadTargetInfo> target_info;
389 &target_info));
392 return target_info.Pass();
408 const DownloadTargetInfo* target_info) {
411 EXPECT_EQ(expected_local_path.value(), target_info->target_path.value());
412 EXPECT_EQ(test_case.expected_disposition, target_info->target_disposition);
413 EXPECT_EQ(test_case.expected_danger_type, target_info->danger_type);
418 target_info->target_path).value(),
419 target_info->intermediate_path.value());
431 target_info->intermediate_path.value());
433 target_info->intermediate_path.DirName().value());
434 EXPECT_TRUE(target_info->intermediate_path.MatchesExtension(
437 target_info->intermediate_path.BaseName().value().find(
443 target_info->intermediate_path.value());
1804 scoped_ptr<DownloadTargetInfo> target_info =
1807 VerifyDownloadTarget(test_case.general, target_info.get());
1811 EXPECT_EQ(expected_intermediate_path, target_info->intermediate_path);
1917 scoped_ptr<DownloadTargetInfo> target_info =
1920 EXPECT_EQ(test_case.expected_mime_type, target_info->mime_type);
2077 scoped_ptr<DownloadTargetInfo> target_info =
2080 EXPECT_FALSE(target_info->is_filetype_handled_safely);
2093 target_info = RunDownloadTargetDeterminer(
2095 EXPECT_TRUE(target_info->is_filetype_handled_safely);
2100 target_info = RunDownloadTargetDeterminer(
2102 EXPECT_FALSE(target_info->is_filetype_handled_safely);
2116 target_info = RunDownloadTargetDeterminer(
2118 EXPECT_FALSE(target_info->is_filetype_handled_safely);
2166 scoped_ptr<DownloadTargetInfo> target_info =
2169 EXPECT_FALSE(target_info->is_filetype_handled_safely);
2182 target_info = RunDownloadTargetDeterminer(
2184 EXPECT_FALSE(target_info->is_filetype_handled_safely);