#include "components/no_state_prefetch/common/no_state_prefetch_utils.h"
#include "base/metrics/histogram.h"
#include "base/metrics/histogram_functions.h"
#include "base/metrics/histogram_macros.h"
#include "base/strings/string_util.h"
#include "base/strings/stringprintf.h"
#include "extensions/buildflags/buildflags.h"
#include "url/gurl.h"
#include "url/url_constants.h"
#if BUILDFLAG(ENABLE_EXTENSIONS)
#include "extensions/common/constants.h"
#endif
namespace prerender {
namespace {
const char* const kValidHttpMethods[] = …;
}
const char kFollowOnlyWhenPrerenderShown[] = …;
bool DoesURLHaveValidScheme(const GURL& url) { … }
bool DoesSubresourceURLHaveValidScheme(const GURL& url) { … }
bool IsValidHttpMethod(const std::string& method) { … }
std::string ComposeHistogramName(const std::string& prefix_type,
const std::string& name) { … }
}