LoadFailed) {   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));    // Make the rest of the test run synchronously.   FinishLoading(false /* load_success */);   // DoOnHeader() should now execute.   // Because the load failed, there will be no policies in memory, so the store   // is not told to delete anything.   expected_commands.emplace_back(       MockPersistentNelStore::Command::Type::ADD_NEL_POLICY, policy0);   EXPECT_TRUE(store()->VerifyCommands(expected_commands));   