#ifndef COMPONENTS_SAFE_BROWSING_CORE_BROWSER_DB_V4_EMBEDDED_TEST_SERVER_UTIL_H_
#define COMPONENTS_SAFE_BROWSING_CORE_BROWSER_DB_V4_EMBEDDED_TEST_SERVER_UTIL_H_
#include <map>
#include "base/time/time.h"
#include "components/safe_browsing/core/browser/db/safebrowsing.pb.h"
#include "url/gurl.h"
namespace net {
namespace test_server {
class EmbeddedTestServer;
}
}
namespace safe_browsing {
void StartRedirectingV4RequestsForTesting(
const std::map<GURL, ThreatMatch>& response_map,
net::test_server::EmbeddedTestServer* embedded_test_server,
const std::map<GURL, base::TimeDelta>& delay_map =
std::map<GURL, base::TimeDelta>(),
bool serve_cookies = false);
}
#endif