| Index: third_party/WebKit/Source/core/dom/DocumentStatisticsCollector.h
|
| diff --git a/third_party/WebKit/Source/core/dom/DocumentStatisticsCollector.h b/third_party/WebKit/Source/core/dom/DocumentStatisticsCollector.h
|
| index 8c3269ea55d8f15dc7066c2879a0760558690fc3..c4241b43aa8f2bb45a67f808b038b5e385bac451 100644
|
| --- a/third_party/WebKit/Source/core/dom/DocumentStatisticsCollector.h
|
| +++ b/third_party/WebKit/Source/core/dom/DocumentStatisticsCollector.h
|
| @@ -6,15 +6,21 @@
|
| #define DocumentStatisticsCollector_h
|
|
|
| #include "core/CoreExport.h"
|
| +#include "wtf/text/StringBuilder.h"
|
|
|
| namespace blink {
|
|
|
| class Document;
|
| +class LocalFrame;
|
| struct WebDistillabilityFeatures;
|
| +struct WebLanguageDetectionDetails;
|
|
|
| class CORE_EXPORT DocumentStatisticsCollector {
|
| public:
|
| - static WebDistillabilityFeatures collectStatistics(Document&);
|
| + static WebDistillabilityFeatures collectDistillabilityFeatures(Document&);
|
| + static WebLanguageDetectionDetails collectLanguageDetectionDetails(Document&);
|
| + // TODO(dglazkov): This function is not compatible with OOPIF. Deprecate and remove it.
|
| + static void frameTreeContentAsPlainText(size_t maxChars, LocalFrame*, StringBuilder& output);
|
| };
|
|
|
| } // namespace blink
|
|
|