src/net/network_error_logging/mock_persistent_nel_store_unittest.cc
MockPersistentNelStore::NelPoliciesLoadedCallback
MakeExpectedRunNelPoliciesLoadedCallback(
    std::vector<NetworkErrorLoggingService::NelPolicy>* policies_out) {
  base::OnceClosure closure = base::MakeExpectedRunClosure(FROM_HERE);
  return base::BindOnce(&RunClosureOnNelPoliciesLoaded, std::move(closure),
                        policies_out);
}
// Makes a NelPoliciesLoadedCallback that will fail if it's never run before
// destruction.
Makes a NelPoliciesLoadedCallback that will fail if it's never run before
destruction.
Makes a NelPoliciesLoadedCallback that will fail if it ' s never run before destruction .
MockPersistentNelStore::NelPoliciesLoadedCallback
MakeExpectedRunNelPoliciesLoadedCallback(
    std::vector<NetworkErrorLoggingService::NelPolicy>* policies_out) {
  base::OnceClosure closure = base::MakeExpectedRunClosure(FROM_HERE);
  return base::BindOnce(&RunClosureOnNelPoliciesLoaded, std::move(closure),
                        policies_out);
}
MockPersistentNelStore :: NelPoliciesLoadedCallback MakeExpectedRunNelPoliciesLoadedCallback ( std :: vector < NetworkErrorLoggingService :: NelPolicy > * policies_out ) { base :: OnceClosure closure = base :: MakeExpectedRunClosure ( FROM_HERE ) ; return base :: BindOnce ( & RunClosureOnNelPoliciesLoaded , std :: move ( closure ) , policies_out ) ; }
Makes a NelPoliciesLoadedCallback that will fail if it's never run before
destruction.
Makes a NelPoliciesLoadedCallback that will fail if it ' s never run before destruction .