Home | History | Annotate | Download | only in download

Lines Matching refs:FORCED

84   FORCED  // Requires that forced_file_path be non-empty.
109 // Should be non-empty if |test_type| == FORCED. Value of GetForcedFilePath().
281 EXPECT_EQ(test_case.test_type == FORCED,
517 // 3: Forced Safe
518 FORCED,
521 FILE_PATH_LITERAL("forced-foo.txt"),
524 FILE_PATH_LITERAL("forced-foo.txt"),
594 // 2: Forced Dangerous URL
595 FORCED,
598 FILE_PATH_LITERAL("forced-foo.txt"),
601 FILE_PATH_LITERAL("forced-foo.txt"),
637 // 5: Forced Dangerous URL + Dangerous file
638 FORCED,
641 FILE_PATH_LITERAL("forced-foo.html"),
644 FILE_PATH_LITERAL("forced-foo.html"),
691 // 2: Forced Maybe dangerous content
692 FORCED,
695 FILE_PATH_LITERAL("forced-foo.exe"),
698 FILE_PATH_LITERAL("forced-foo.exe"),
897 SCOPED_TRACE(testing::Message() << "Forced safe download");
899 FORCED,
902 FILE_PATH_LITERAL("forced-foo.txt"),
904 // Forced paths should be left as-is.
906 FILE_PATH_LITERAL("forced-foo.txt"),
1069 // 3: Safe because of forced path.
1070 FORCED,
1126 // 1: Safe Forced - Shouldn't prompt.
1127 FORCED,
1310 // 3: Forced Safe
1311 FORCED,
1314 FILE_PATH_LITERAL("forced-foo.txt"),
1317 FILE_PATH_LITERAL("forced-foo.txt"),
1547 // 3: Forced Safe: Initial path is ignored due to the forced path.
1548 FORCED,
1551 FILE_PATH_LITERAL("forced-foo.txt"),
1554 FILE_PATH_LITERAL("forced-foo.txt"),
1577 // is no forced path. In the test cases above, this is true for tests with
1591 // Test that a forced download doesn't prompt, even if the interrupt reason
1597 // 3: Forced Safe
1598 FORCED,
1601 FILE_PATH_LITERAL("forced-foo.txt"),
1604 FILE_PATH_LITERAL("forced-foo.txt"),
1821 // 3: Forced Safe: Initial path is ignored due to the forced path.
1822 FORCED,
1825 FILE_PATH_LITERAL("forced-foo.txt"),
1828 FILE_PATH_LITERAL("forced-foo.txt"),
1833 FILE_PATH_LITERAL("forced-foo.txt"),
1834 FILE_PATH_LITERAL("forced-foo.txt")