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

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

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 #ifndef COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_SWITCHES_H_ 5 #ifndef COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_SWITCHES_H_
6 #define COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_SWITCHES_H_ 6 #define COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_SWITCHES_H_
7 7
8 #include "base/base_switches.h" 8 #include "base/base_switches.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 10
(...skipping 10 matching lines...) Expand all
21 21
22 // Switch to enable specific heuristics for detecting if a page is distillable 22 // Switch to enable specific heuristics for detecting if a page is distillable
23 // or not. 23 // or not.
24 extern const char kReaderModeHeuristics[]; 24 extern const char kReaderModeHeuristics[];
25 25
26 // Switch to control the display of the distiller feedback form. 26 // Switch to control the display of the distiller feedback form.
27 extern const char kReaderModeFeedback[]; 27 extern const char kReaderModeFeedback[];
28 28
29 namespace reader_mode_heuristics { 29 namespace reader_mode_heuristics {
30 extern const char kAdaBoost[]; 30 extern const char kAdaBoost[];
31 extern const char kAllArticles[];
31 extern const char kOGArticle[]; 32 extern const char kOGArticle[];
32 extern const char kAlwaysTrue[]; 33 extern const char kAlwaysTrue[];
33 extern const char kNone[]; 34 extern const char kNone[];
34 }; 35 };
35 36
36 namespace reader_mode_feedback { 37 namespace reader_mode_feedback {
37 extern const char kOn[]; 38 extern const char kOn[];
38 extern const char kOff[]; 39 extern const char kOff[];
39 }; 40 };
40 41
41 } // namespace switches 42 } // namespace switches
42 43
43 #endif // COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_SWITCHES_H_ 44 #endif // COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_SWITCHES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698