#ifndef COMPONENTS_NAVIGATION_METRICS_NAVIGATION_METRICS_H_
#define COMPONENTS_NAVIGATION_METRICS_NAVIGATION_METRICS_H_
#include <string>
#include "components/url_formatter/spoof_checks/idna_metrics.h"
class GURL;
namespace profile_metrics {
enum class BrowserProfileType;
}
namespace navigation_metrics {
extern const char kMainFrameScheme[];
extern const char kMainFrameSchemeDifferentPage[];
extern const char kMainFrameSchemeDifferentPageNonUniqueHostname[];
extern const char kMainFrameSchemeOTR[];
extern const char kMainFrameSchemeDifferentPageOTR[];
extern const char kMainFrameHasRTLDomain[];
extern const char kMainFrameHasRTLDomainDifferentPage[];
extern const char kMainFrameProfileType[];
enum class Scheme { … };
Scheme GetScheme(const GURL& url);
void RecordPrimaryMainFrameNavigation(
const GURL& url,
bool is_same_document,
bool is_off_the_record,
profile_metrics::BrowserProfileType profile_type);
void RecordOmniboxURLNavigation(const GURL& url);
IDNA2008DeviationCharacter RecordIDNA2008Metrics(
const std::u16string& hostname);
}
#endif