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

Unified Diff: components/dom_distiller/core/dom_distiller_features.cc

Issue 1972503002: Add flag "distillability-dev" for distillability development Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compatible naming Created 4 years, 3 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/dom_distiller_features.cc
diff --git a/components/dom_distiller/core/dom_distiller_features.cc b/components/dom_distiller/core/dom_distiller_features.cc
index 3d44ddfb365cec2283c145192aefac499e07a59e..ee63be7d9a25d67f43078d587cc4cca47efde302 100644
--- a/components/dom_distiller/core/dom_distiller_features.cc
+++ b/components/dom_distiller/core/dom_distiller_features.cc
@@ -16,6 +16,11 @@ bool IsEnableDomDistillerSet() {
switches::kEnableDomDistiller);
}
+bool IsDistillabilityDevSet() {
+ return base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kDistillabilityDev);
+}
+
bool IsEnableSyncArticlesSet() {
return base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kEnableSyncArticles);
« no previous file with comments | « components/dom_distiller/core/dom_distiller_features.h ('k') | components/dom_distiller/core/dom_distiller_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698