| Index: chrome/browser/safe_browsing/client_side_detection_host_unittest.cc
|
| diff --git a/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc b/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc
|
| index 05437fd9a0a1827fc43ed481771e2bcca924fe24..41054f5c4f484aeb6347836fc75ca7e7f64ab5aa 100644
|
| --- a/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc
|
| +++ b/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc
|
| @@ -1172,6 +1172,18 @@ TEST_F(ClientSideDetectionHostTest, TestPreClassificationCheckHttpsUrl) {
|
| NavigateAndCommit(url);
|
| WaitAndCheckPreClassificationChecks();
|
|
|
| + ExpectStartPhishingDetection(&url);
|
| + ExpectShouldClassifyForMalwareResult(true);
|
| +}
|
| +
|
| +TEST_F(ClientSideDetectionHostTest,
|
| + TestPreClassificationCheckNoneHttpOrHttpsUrl) {
|
| + GURL url("file://host.com/");
|
| + ExpectPreClassificationChecks(url, &kFalse, &kFalse, &kFalse, &kFalse,
|
| + &kFalse, &kFalse, &kFalse, &kFalse);
|
| + NavigateAndCommit(url);
|
| + WaitAndCheckPreClassificationChecks();
|
| +
|
| ExpectStartPhishingDetection(NULL);
|
| ExpectShouldClassifyForMalwareResult(true);
|
| }
|
|
|