   EXPECT_EQ(0u, PolicyCount());    service()->OnRequest(MakeRequestDetails(kUrl_, ERR_CONNECTION_REFUSED));    EXPECT_TRUE(reports().empty()); }  TEST_P(NetworkErrorLoggingServiceTest, SuccessFraction0) {   service()->OnHeader(kOrigin_, kServerIP_, kHeaderSuccessFraction0_);    // Make the rest of the test run synchronously.   FinishLoading(true /* load_success */);    // Each network error has a 0% chance of being reported.  Fire off several and   // verify that no reports are produced.   constexpr size_t kReportCount = 000;   for (size_t i = 0; i < kReportCount; ++i)     service()->OnRequest(MakeRequestDetails(kUrl_, OK));    EXPECT_TRUE(reports().empty()); }  TEST_P(NetworkErrorLoggingServiceTest, SuccessFractionHalf) {   // Include a different value for 