Index: components/dom_distiller/core/experiments.cc |
diff --git a/components/dom_distiller/core/experiments.cc b/components/dom_distiller/core/experiments.cc |
index cc882d1f0fb469d47a161261cf08eac66154932a..900daecd4b50191ebee2d68ceba68582b543f0e0 100644 |
--- a/components/dom_distiller/core/experiments.cc |
+++ b/components/dom_distiller/core/experiments.cc |
@@ -47,29 +47,4 @@ DistillerHeuristicsType GetDistillerHeuristicsType() { |
} |
return DistillerHeuristicsType::ADABOOST_MODEL; |
} |
- |
-bool ShouldShowFeedbackForm() { |
- const std::string group_name = |
- base::FieldTrialList::FindFullName("ReaderModeUIFeedback"); |
- const std::string switch_value = |
- base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII( |
- switches::kReaderModeFeedback); |
- if (switch_value != "") { |
- if (switch_value == switches::reader_mode_feedback::kOn) { |
- return true; |
- } |
- if (switch_value == switches::reader_mode_feedback::kOff) { |
- return false; |
- } |
- NOTREACHED() << "Invalid value for " << switches::kReaderModeFeedback; |
- } else { |
- if (group_name == "DoNotShow") { |
- return false; |
- } |
- if (group_name == "Show") { |
- return true; |
- } |
- } |
- return false; |
-} |
} |