Only grant permissions to new extensions from sync if they have the expected version
[chromium-blink-merge.git] / chrome / browser / safe_browsing / browser_features.cc
blob01d9acf5f150b436491b618626ed4b1ee2cad193
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.
5 #include "chrome/browser/safe_browsing/browser_features.h"
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";
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 kHttpStatusCode[] = "HttpStatusCode";
30 const char kSafeBrowsingMaliciousUrl[] = "SafeBrowsingMaliciousUrl=";
31 const char kSafeBrowsingOriginalUrl[] = "SafeBrowsingOriginalUrl=";
32 const char kSafeBrowsingIsSubresource[] = "SafeBrowsingIsSubresource";
33 const char kSafeBrowsingThreatType[] = "SafeBrowsingThreatType";
34 } // namespace features
35 } // namespace safe_browsing