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

Unified Diff: components/dom_distiller/core/experiments.h

Issue 1051673002: Add flags and experiment config for selecting triggering heuristics (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dd-heuristics-apply
Patch Set: rebase Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: components/dom_distiller/core/experiments.h
diff --git a/components/dom_distiller/core/experiments.h b/components/dom_distiller/core/experiments.h
new file mode 100644
index 0000000000000000000000000000000000000000..7f1f350f77621c932426b068f9f277383d19de89
--- /dev/null
+++ b/components/dom_distiller/core/experiments.h
@@ -0,0 +1,18 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef COMPONENTS_DOM_DISTILLER_CORE_EXPERIMENTS_H_
+#define COMPONENTS_DOM_DISTILLER_CORE_EXPERIMENTS_H_
+
+namespace dom_distiller {
+ enum class DistillerHeuristicsType {
+ NONE,
+ OG_ARTICLE,
+ ADABOOST_MODEL,
+ };
+
+ DistillerHeuristicsType GetDistillerHeuristicsType();
+}
+
+#endif // COMPONENTS_DOM_DISTILLER_CORE_EXPERIMENTS_H_
« no previous file with comments | « components/dom_distiller/core/dom_distiller_switches.cc ('k') | components/dom_distiller/core/experiments.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698