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

Unified Diff: third_party/WebKit/Source/core/dom/DocumentStatisticsCollector.h

Issue 1419033004: Add feature extraction for distillability to Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months 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 side-by-side diff with in-line comments
Download patch
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..e64e90768017e12ca6834d6ee409505fd81d50ab
--- /dev/null
+++ b/third_party/WebKit/Source/core/dom/DocumentStatisticsCollector.h
@@ -0,0 +1,24 @@
+// 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;
esprehn 2015/10/23 04:59:15 remove, you don't depend on this
wychen 2015/10/26 20:40:52 Done.
+}
+
+namespace blink {
+
+class Document;
+struct WebDistillabilityFeatures;
+
+class DocumentStatisticsCollector {
esprehn 2015/10/23 04:59:15 this needs tests.
wychen 2015/10/26 20:40:52 Done.
+public:
+ static WebDistillabilityFeatures collectStatistics(Document&);
+};
+
+}
+
+#endif

Powered by Google App Engine
This is Rietveld 408576698