| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #include "chrome/renderer/safe_browsing/features.h" | 5 #include "chrome/renderer/safe_browsing/features.h" |
| 6 | 6 |
| 7 #include "base/histogram.h" | 7 #include "base/histogram.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 | 9 |
| 10 namespace safe_browsing { | 10 namespace safe_browsing { |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 const char kPageLinkDomain[] = "PageLinkDomain="; | 73 const char kPageLinkDomain[] = "PageLinkDomain="; |
| 74 const char kPageSecureLinksFreq[] = "PageSecureLinksFreq"; | 74 const char kPageSecureLinksFreq[] = "PageSecureLinksFreq"; |
| 75 | 75 |
| 76 // DOM HTML script features | 76 // DOM HTML script features |
| 77 const char kPageNumScriptTagsGTOne[] = "PageNumScriptTags>1"; | 77 const char kPageNumScriptTagsGTOne[] = "PageNumScriptTags>1"; |
| 78 const char kPageNumScriptTagsGTSix[] = "PageNumScriptTags>6"; | 78 const char kPageNumScriptTagsGTSix[] = "PageNumScriptTags>6"; |
| 79 | 79 |
| 80 // Other DOM HTML features | 80 // Other DOM HTML features |
| 81 const char kPageImgOtherDomainFreq[] = "PageImgOtherDomainFreq"; | 81 const char kPageImgOtherDomainFreq[] = "PageImgOtherDomainFreq"; |
| 82 | 82 |
| 83 // Page term features |
| 84 const char kPageTerm[] = "PageTerm="; |
| 85 |
| 83 } // namespace features | 86 } // namespace features |
| 84 } // namespace safe_browsing | 87 } // namespace safe_browsing |
| OLD | NEW |