Don't preload rarely seen large images
[chromium-blink-merge.git] / components / dom_distiller / core / dom_distiller_switches.h
blob1920d9bdf83f6ecb04c90f19c61d72160f3e3f2c
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
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_SWITCHES_H_
6 #define COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_SWITCHES_H_
8 #include "base/base_switches.h"
9 #include "base/command_line.h"
11 namespace switches {
13 // Switch to enable specific heuristics for detecting if a page is distillable
14 // or not.
15 extern const char kReaderModeHeuristics[];
16 // Switch to control the display of the distiller feedback form.
17 extern const char kReaderModeFeedback[];
19 namespace reader_mode_heuristics {
20 extern const char kAdaBoost[];
21 extern const char kOGArticle[];
22 extern const char kAlwaysTrue[];
23 extern const char kNone[];
26 namespace reader_mode_feedback {
27 extern const char kOn[];
28 extern const char kOff[];
31 } // namespace switches
33 #endif // COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_SWITCHES_H_