Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(314)

Side by Side Diff: chrome/browser/safe_browsing/browser_features.h

Issue 8400050: Include the HTTP status code as a feature in the ClientPhishingRequest. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc ('k') | chrome/browser/safe_browsing/browser_features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698