OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 // | 4 // |
5 // Client-side phishing features that are extracted by the browser, after | 5 // Client-side phishing features that are extracted by the browser, after |
6 // receiving a score from the renderer. | 6 // receiving a score from the renderer. |
7 | 7 |
8 #ifndef CHROME_BROWSER_SAFE_BROWSING_BROWSER_FEATURES_H_ | 8 #ifndef CHROME_BROWSER_SAFE_BROWSING_BROWSER_FEATURES_H_ |
9 #define CHROME_BROWSER_SAFE_BROWSING_BROWSER_FEATURES_H_ | 9 #define CHROME_BROWSER_SAFE_BROWSING_BROWSER_FEATURES_H_ |
10 #pragma once | 10 #pragma once |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 extern const char kRedirectUrlMismatch[]; | 64 extern const char kRedirectUrlMismatch[]; |
65 // The redirect chain that leads to the named page. | 65 // The redirect chain that leads to the named page. |
66 extern const char kRedirect[]; | 66 extern const char kRedirect[]; |
67 // If a redirect is SSL, we will use this value instead of the actual redirect | 67 // If a redirect is SSL, we will use this value instead of the actual redirect |
68 // so we don't leak any SSL sites. | 68 // so we don't leak any SSL sites. |
69 extern const char kSecureRedirectValue[]; | 69 extern const char kSecureRedirectValue[]; |
70 | 70 |
71 // Resource was fetched from a known bad IP address. | 71 // Resource was fetched from a known bad IP address. |
72 extern const char kBadIpFetch[]; | 72 extern const char kBadIpFetch[]; |
73 | 73 |
| 74 // The HTTP status code for the main document. |
| 75 extern const char kHttpStatusCode[]; |
| 76 |
74 // SafeBrowsing related featues. Fields from the UnsafeResource if there is | 77 // SafeBrowsing related featues. Fields from the UnsafeResource if there is |
75 // any. | 78 // any. |
76 extern const char kSafeBrowsingMaliciousUrl[]; | 79 extern const char kSafeBrowsingMaliciousUrl[]; |
77 extern const char kSafeBrowsingOriginalUrl[]; | 80 extern const char kSafeBrowsingOriginalUrl[]; |
78 extern const char kSafeBrowsingIsSubresource[]; | 81 extern const char kSafeBrowsingIsSubresource[]; |
79 extern const char kSafeBrowsingThreatType[]; | 82 extern const char kSafeBrowsingThreatType[]; |
80 } // namespace features | 83 } // namespace features |
81 } // namespace safe_browsing | 84 } // namespace safe_browsing |
82 | 85 |
83 #endif // CHROME_BROWSER_SAFE_BROWSING_BROWSER_FEATURES_H_ | 86 #endif // CHROME_BROWSER_SAFE_BROWSING_BROWSER_FEATURES_H_ |
OLD | NEW |