OLD | NEW |
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 |
11 namespace switches { | 11 namespace switches { |
12 | 12 |
| 13 // Switch to enable the DOM distiller. |
| 14 extern const char kEnableDomDistiller[]; |
| 15 |
| 16 // Switch to enable synced articles. |
| 17 extern const char kEnableSyncArticles[]; |
| 18 |
13 // Switch to enable specific heuristics for detecting if a page is distillable | 19 // Switch to enable specific heuristics for detecting if a page is distillable |
14 // or not. | 20 // or not. |
15 extern const char kReaderModeHeuristics[]; | 21 extern const char kReaderModeHeuristics[]; |
| 22 |
16 // Switch to control the display of the distiller feedback form. | 23 // Switch to control the display of the distiller feedback form. |
17 extern const char kReaderModeFeedback[]; | 24 extern const char kReaderModeFeedback[]; |
18 | 25 |
19 namespace reader_mode_heuristics { | 26 namespace reader_mode_heuristics { |
20 extern const char kAdaBoost[]; | 27 extern const char kAdaBoost[]; |
21 extern const char kOGArticle[]; | 28 extern const char kOGArticle[]; |
22 extern const char kAlwaysTrue[]; | 29 extern const char kAlwaysTrue[]; |
23 extern const char kNone[]; | 30 extern const char kNone[]; |
24 }; | 31 }; |
25 | 32 |
26 namespace reader_mode_feedback { | 33 namespace reader_mode_feedback { |
27 extern const char kOn[]; | 34 extern const char kOn[]; |
28 extern const char kOff[]; | 35 extern const char kOff[]; |
29 }; | 36 }; |
30 | 37 |
31 } // namespace switches | 38 } // namespace switches |
32 | 39 |
33 #endif // COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_SWITCHES_H_ | 40 #endif // COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_SWITCHES_H_ |
OLD | NEW |