1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "chrome/browser/safe_browsing/browser_features.h" 6 7 namespace safe_browsing { 8 namespace features { 9 const char kUrlHistoryVisitCount[] = "UrlHistoryVisitCount"; 10 const char kUrlHistoryTypedCount[] = "UrlHistoryTypedCount"; 11 const char kUrlHistoryLinkCount[] = "UrlHistoryLinkCount"; 12 const char kUrlHistoryVisitCountMoreThan24hAgo[] = 13 "UrlHistoryVisitCountMoreThan24hAgo"; 14 const char kHttpHostVisitCount[] = "HttpHostVisitCount"; 15 const char kHttpsHostVisitCount[] = "HttpsHostVisitCount"; 16 const char kFirstHttpHostVisitMoreThan24hAgo[] = 17 "FirstHttpHostVisitMoreThan24hAgo"; 18 const char kFirstHttpsHostVisitMoreThan24hAgo[] = 19 "FirstHttpsHostVisitMoreThan24hAgo"; 20 21 const char kHostPrefix[] = "Host"; 22 const char kReferrer[] = "Referrer"; 23 const char kHasSSLReferrer[] = "HasSSLReferrer"; 24 const char kPageTransitionType[] = "PageTransitionType"; 25 const char kIsFirstNavigation[] = "IsFirstNavigation"; 26 const char kRedirectUrlMismatch[] = "RedirectUrlMismatch"; 27 const char kRedirect[] = "Redirect"; 28 const char kSecureRedirectValue[] = "SecureRedirect"; 29 const char kBadIpFetch[] = "BadIpFetch="; 30 const char kHttpStatusCode[] = "HttpStatusCode"; 31 const char kSafeBrowsingMaliciousUrl[] = "SafeBrowsingMaliciousUrl="; 32 const char kSafeBrowsingOriginalUrl[] = "SafeBrowsingOriginalUrl="; 33 const char kSafeBrowsingIsSubresource[] = "SafeBrowsingIsSubresource"; 34 const char kSafeBrowsingThreatType[] = "SafeBrowsingThreatType"; 35 } // namespace features 36 } // namespace safe_browsing 37