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 af5464c8d16f58b4820fa3d73c30b43e5d38f83d..3d44ddfb365cec2283c145192aefac499e07a59e 100644 |
--- a/components/dom_distiller/core/dom_distiller_features.cc |
+++ b/components/dom_distiller/core/dom_distiller_features.cc |
@@ -8,35 +8,17 @@ |
#include "base/command_line.h" |
#include "components/dom_distiller/core/dom_distiller_switches.h" |
-#include "components/variations/variations_associated_data.h" |
namespace dom_distiller { |
-namespace { |
-const char kFieldTrialName[] = "EnhancedBookmarks"; |
-} |
bool IsEnableDomDistillerSet() { |
- if (base::CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kEnableDomDistiller)) { |
- return true; |
- } |
- if (variations::GetVariationParamValue(kFieldTrialName, |
- "enable-dom-distiller") == "1") { |
- return true; |
- } |
- return false; |
+ return base::CommandLine::ForCurrentProcess()->HasSwitch( |
+ switches::kEnableDomDistiller); |
} |
bool IsEnableSyncArticlesSet() { |
- if (base::CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kEnableSyncArticles)) { |
- return true; |
- } |
- if (variations::GetVariationParamValue(kFieldTrialName, |
- "enable-sync-articles") == "1") { |
- return true; |
- } |
- return false; |
+ return base::CommandLine::ForCurrentProcess()->HasSwitch( |
+ switches::kEnableSyncArticles); |
} |
} // namespace dom_distiller |