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

Side by Side Diff: components/dom_distiller/core/dom_distiller_switches.cc

Issue 2961533002: Add "AllArticles" mode to Reader Mode heuristics (Closed)
Patch Set: Revert "exclude ios" Created 3 years, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/dom_distiller/core/dom_distiller_switches.h" 5 #include "components/dom_distiller/core/dom_distiller_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 const char kEnableDistillabilityService[] = "enable-distillability-service"; 9 const char kEnableDistillabilityService[] = "enable-distillability-service";
10 const char kEnableDomDistiller[] = "enable-dom-distiller"; 10 const char kEnableDomDistiller[] = "enable-dom-distiller";
11 const char kEnableSyncArticles[] = "enable-sync-articles"; 11 const char kEnableSyncArticles[] = "enable-sync-articles";
12 const char kReaderModeHeuristics[] = "reader-mode-heuristics"; 12 const char kReaderModeHeuristics[] = "reader-mode-heuristics";
13 const char kReaderModeFeedback[] = "reader-mode-feedback"; 13 const char kReaderModeFeedback[] = "reader-mode-feedback";
14 14
15 namespace reader_mode_heuristics { 15 namespace reader_mode_heuristics {
16 const char kAdaBoost[] = "adaboost"; 16 const char kAdaBoost[] = "adaboost";
17 const char kAllArticles[] = "allarticles";
17 const char kOGArticle[] = "opengraph"; 18 const char kOGArticle[] = "opengraph";
18 const char kAlwaysTrue[] = "alwaystrue"; 19 const char kAlwaysTrue[] = "alwaystrue";
19 const char kNone[] = "none"; 20 const char kNone[] = "none";
20 }; 21 };
21 22
22 namespace reader_mode_feedback { 23 namespace reader_mode_feedback {
23 const char kOn[] = "on"; 24 const char kOn[] = "on";
24 const char kOff[] = "off"; 25 const char kOff[] = "off";
25 }; 26 };
26 27
27 } // namespace switches 28 } // namespace switches
OLDNEW
« no previous file with comments | « components/dom_distiller/core/dom_distiller_switches.h ('k') | components/dom_distiller/core/experiments.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698