Index: components/dom_distiller/core/feedback_reporter.cc |
diff --git a/components/dom_distiller/core/feedback_reporter.cc b/components/dom_distiller/core/feedback_reporter.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a536ef7cca3f35578df8d8593c90f00e15b5186e |
--- /dev/null |
+++ b/components/dom_distiller/core/feedback_reporter.cc |
@@ -0,0 +1,20 @@ |
+// Copyright 2014 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. |
+ |
+#include "components/dom_distiller/core/feedback_reporter.h" |
+ |
+#include "base/metrics/histogram.h" |
+ |
+namespace dom_distiller { |
+ |
+FeedbackReporter::FeedbackReporter() {} |
+ |
+FeedbackReporter::~FeedbackReporter() {} |
+ |
+// static |
+void FeedbackReporter::ReportQuality(bool good) { |
+ UMA_HISTOGRAM_BOOLEAN("DomDistiller.DistillationQuality", good); |
+} |
+ |
+} // namespace dom_distiller |