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 |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ccfb02e729e8849fd3d833a120327b95d8f995c1 |
--- /dev/null |
+++ b/third_party/WebKit/Source/core/dom/DocumentStatisticsCollector.h |
@@ -0,0 +1,30 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef DocumentStatisticsCollector_h |
+#define DocumentStatisticsCollector_h |
+ |
+namespace WTF { |
+class String; |
+} |
+ |
+namespace blink { |
+ |
+class Document; |
+struct WebDistillabilityFeatures; |
+ |
+class DocumentStatisticsCollector { |
+public: |
+ DocumentStatisticsCollector(); |
+ |
+ void setReadyToCollect() { m_readyToCollect = true; } |
+ WebDistillabilityFeatures collectStatistics(Document&); |
+ |
+private: |
+ bool m_readyToCollect : 1; |
dglazkov
2015/10/22 16:30:31
I don't think you need this. Maybe just have an as
wychen
2015/10/23 02:51:30
Removed.
|
+}; |
+ |
+} |
+ |
+#endif |