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

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

Issue 1703313003: Only show Reader Mode infobar on long articles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 10 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 dc9c41356a5ba800ce72a791f5115c551ad4a7b0..893945acc44edb3d9e66591f51f9f7ba35d1cf72 100644
--- a/components/dom_distiller/core/distillable_page_detector.h
+++ b/components/dom_distiller/core/distillable_page_detector.h
@@ -21,6 +21,7 @@ class DistillablePageDetector {
public:
static const DistillablePageDetector* GetDefault();
static const DistillablePageDetector* GetNewModel();
+ static const DistillablePageDetector* GetLongPageModel();
explicit DistillablePageDetector(scoped_ptr<AdaBoostProto> proto);
~DistillablePageDetector();
« no previous file with comments | « components/dom_distiller/core/data/long_page_model.bin ('k') | components/dom_distiller/core/distillable_page_detector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698