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

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

Issue 1248643004: Test distillability without JavaScript (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@early
Patch Set: update model, functionally correct locally 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 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 #include "components/dom_distiller/core/distiller_export.h"
10 11
11 namespace switches { 12 namespace switches {
12 13
13 // Switch to enable the DOM distiller. 14 // Switch to enable the DOM distiller.
14 extern const char kEnableDomDistiller[]; 15 extern const char kEnableDomDistiller[];
15 16
16 // Switch to enable synced articles. 17 // Switch to enable synced articles.
17 extern const char kEnableSyncArticles[]; 18 extern const char kEnableSyncArticles[];
18 19
19 // Switch to enable specific heuristics for detecting if a page is distillable 20 // Switch to enable specific heuristics for detecting if a page is distillable
20 // or not. 21 // or not.
21 extern const char kReaderModeHeuristics[]; 22 DISTILLER_EXPORT extern const char kReaderModeHeuristics[];
22 23
23 // Switch to control the display of the distiller feedback form. 24 // Switch to control the display of the distiller feedback form.
24 extern const char kReaderModeFeedback[]; 25 extern const char kReaderModeFeedback[];
25 26
26 namespace reader_mode_heuristics { 27 namespace reader_mode_heuristics {
27 extern const char kAdaBoost[]; 28 extern const char kAdaBoost[];
28 extern const char kOGArticle[]; 29 extern const char kOGArticle[];
29 extern const char kAlwaysTrue[]; 30 extern const char kAlwaysTrue[];
30 extern const char kNone[]; 31 extern const char kNone[];
31 }; 32 };
32 33
33 namespace reader_mode_feedback { 34 namespace reader_mode_feedback {
34 extern const char kOn[]; 35 extern const char kOn[];
35 extern const char kOff[]; 36 extern const char kOff[];
36 }; 37 };
37 38
38 } // namespace switches 39 } // namespace switches
39 40
40 #endif // COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_SWITCHES_H_ 41 #endif // COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_SWITCHES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698