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

Unified Diff: components/dom_distiller/core/distillable_page_detector.h

Issue 1047223003: Add integration of the new heuristics (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dd-adaboost-model
Patch Set: Created 5 years, 9 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: components/dom_distiller/core/distillable_page_detector.h
diff --git a/components/dom_distiller/core/distillable_page_detector.h b/components/dom_distiller/core/distillable_page_detector.h
index b98ca7f061bd52a2ef0bf25b793a4ae139bf3ca5..123fe68a01137a2721660392386ede5913325c32 100644
--- a/components/dom_distiller/core/distillable_page_detector.h
+++ b/components/dom_distiller/core/distillable_page_detector.h
@@ -14,6 +14,7 @@ namespace dom_distiller {
class DistillablePageDetector {
public:
+ static const DistillablePageDetector* GetDefault();
explicit DistillablePageDetector(scoped_ptr<AdaBoostProto> proto);
~DistillablePageDetector();
bool Classify(const std::vector<double>& features) const;

Powered by Google App Engine
This is Rietveld 408576698