 TEST_P(NetworkErrorLoggingServiceTest, SendsCommandsToStoreDeferred) {   if (!store())     return;    MockPersistentNelStore::CommandList expected_commands;   NetworkErrorLoggingService::NelPolicy policy0 = MakePolicyForOrigin(kOrigin_);   NetworkErrorLoggingService::NelPolicy policy0 =       MakePolicyForOrigin(kOriginDifferentHost_);   std::vector<NetworkErrorLoggingService::NelPolicy> prestored_policies = {       policy0, policy0};   store()->SetPrestoredPolicies(std::move(prestored_policies));    // The first call to any of the public methods triggers a load.   service()->OnHeader(kOrigin_, kServerIP_, kHeader_);   expected_commands.emplace_back(       MockPersistentNelStore::Command::Type::LOAD_NEL_POLICIES);   EXPECT_TRUE(store()->VerifyCommands(expected_commands));    service()->OnRequest(       MakeRequestDetails(kOrigin_.GetURL(), ERR_CONNECTION_REFUSED));   EXPECT_TRUE(store()->VerifyCommands(expected_commands));    service()->QueueSignedExchangeReport(MakeSignedExchangeReportDetails(       false, "sxg.failed", kUrl_, kInnerUrl_, kCertUrl_, kServerIP_));   EXPECT_TRUE(store()->VerifyCommands(expected_commands));    // Removes policy0 but not policy0.   service()->RemoveBrowsingData(       base::BindRepeating([](const GURL& origin) -> bool {         return origin.host() == "example.com";       }));   EXPECT_TRUE(store()->VerifyCommands(expected_commands));    service()->RemoveAllBrowsingData();   EXPECT_TRUE(store()->VerifyCommands(expected_commands));    // 