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

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

Issue 1405233009: Add a new distillability model for the new set of page features (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge depend Created 5 years, 1 month 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 fbe36bf88194503e28f26ae0406f49cfa8ef91e9..9f6a97b2f6d7eafd6867cbfe6cf984be82a0e9b6 100644
--- a/components/dom_distiller/core/distillable_page_detector.h
+++ b/components/dom_distiller/core/distillable_page_detector.h
@@ -19,6 +19,7 @@ namespace dom_distiller {
class DistillablePageDetector {
public:
static const DistillablePageDetector* GetDefault();
+ static const DistillablePageDetector* GetNewDefault();
mdjones 2015/11/05 00:53:57 Nit: For now, use GetNewModel and later change it
wychen 2015/11/05 02:00:39 Done.
explicit DistillablePageDetector(scoped_ptr<AdaBoostProto> proto);
~DistillablePageDetector();

Powered by Google App Engine
This is Rietveld 408576698