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 | |
11 | 10 |
12 namespace safe_browsing { | 11 namespace safe_browsing { |
13 namespace features { | 12 namespace features { |
14 | 13 |
15 // IMPORTANT: when adding new features, you must update kAllowedFeatures in | 14 // IMPORTANT: when adding new features, you must update kAllowedFeatures in |
16 // chrome/browser/safe_browsing/client_side_detection_service.cc if the feature | 15 // chrome/browser/safe_browsing/client_side_detection_service.cc if the feature |
17 // should be sent in sanitized pingbacks. | 16 // should be sent in sanitized pingbacks. |
18 // | 17 // |
19 //////////////////////////////////////////////////// | 18 //////////////////////////////////////////////////// |
20 // History features. | 19 // History features. |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 // SafeBrowsing related featues. Fields from the UnsafeResource if there is | 76 // SafeBrowsing related featues. Fields from the UnsafeResource if there is |
78 // any. | 77 // any. |
79 extern const char kSafeBrowsingMaliciousUrl[]; | 78 extern const char kSafeBrowsingMaliciousUrl[]; |
80 extern const char kSafeBrowsingOriginalUrl[]; | 79 extern const char kSafeBrowsingOriginalUrl[]; |
81 extern const char kSafeBrowsingIsSubresource[]; | 80 extern const char kSafeBrowsingIsSubresource[]; |
82 extern const char kSafeBrowsingThreatType[]; | 81 extern const char kSafeBrowsingThreatType[]; |
83 } // namespace features | 82 } // namespace features |
84 } // namespace safe_browsing | 83 } // namespace safe_browsing |
85 | 84 |
86 #endif // CHROME_BROWSER_SAFE_BROWSING_BROWSER_FEATURES_H_ | 85 #endif // CHROME_BROWSER_SAFE_BROWSING_BROWSER_FEATURES_H_ |
OLD | NEW |