Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2015 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. | |
| 4 | |
| 5 #ifndef WebDistillability_h | |
| 6 #define WebDistillability_h | |
| 7 | |
| 8 namespace blink { | |
| 9 | |
| 10 struct WebDistillabilityFeatures { | |
| 11 bool openGraph; | |
| 12 unsigned elementCount; | |
| 13 unsigned anchorCount; | |
| 14 unsigned formCount; | |
| 15 unsigned textInputCount; | |
| 16 unsigned passwordInputCount; | |
| 17 unsigned pCount; | |
| 18 unsigned preCount; | |
| 19 unsigned innerTextLength; | |
| 20 unsigned textContentLength; | |
| 21 double mozScore; | |
|
esprehn
2015/10/26 21:43:09
This needs a comment in the code or a link to what
| |
| 22 double mozScoreAllSqrt; | |
| 23 double mozScoreAllLinear; | |
| 24 }; | |
| 25 | |
| 26 } // namespace blink | |
| 27 | |
| 28 #endif // WebDistillability_h | |
| OLD | NEW |