#include "components/safe_browsing/content/renderer/phishing_classifier/features.h"
#include "base/feature_list.h"
#include "base/metrics/field_trial_params.h"
#include "base/metrics/histogram_macros.h"
namespace safe_browsing {
const size_t FeatureMap::kMaxFeatureMapSize = …;
FeatureMap::FeatureMap() { … }
FeatureMap::~FeatureMap() { … }
bool FeatureMap::AddBooleanFeature(const std::string& name) { … }
bool FeatureMap::AddRealFeature(const std::string& name, double value) { … }
void FeatureMap::Clear() { … }
BASE_FEATURE(…);
BASE_FEATURE(…);
constexpr base::FeatureParam<int> kClientSideDetectionRetryLimitTime{ … };
namespace features {
const char kUrlHostIsIpAddress[] = …;
const char kUrlTldToken[] = …;
const char kUrlDomainToken[] = …;
const char kUrlOtherHostToken[] = …;
const char kUrlNumOtherHostTokensGTOne[] = …;
const char kUrlNumOtherHostTokensGTThree[] = …;
const char kUrlPathToken[] = …;
const char kPageHasForms[] = …;
const char kPageActionOtherDomainFreq[] = …;
const char kPageActionURL[] = …;
const char kPageHasTextInputs[] = …;
const char kPageHasPswdInputs[] = …;
const char kPageHasRadioInputs[] = …;
const char kPageHasCheckInputs[] = …;
const char kPageExternalLinksFreq[] = …;
const char kPageLinkDomain[] = …;
const char kPageSecureLinksFreq[] = …;
const char kPageNumScriptTagsGTOne[] = …;
const char kPageNumScriptTagsGTSix[] = …;
const char kPageImgOtherDomainFreq[] = …;
const char kPageTerm[] = …;
}
}