Index: components/dom_distiller/core/feedback_reporter.h |
diff --git a/components/dom_distiller/core/feedback_reporter.h b/components/dom_distiller/core/feedback_reporter.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..980253026a4f1d67258193d7f2c5c1b9a8c7da50 |
--- /dev/null |
+++ b/components/dom_distiller/core/feedback_reporter.h |
@@ -0,0 +1,28 @@ |
+// 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. |
+ |
+#ifndef COMPONENTS_DOM_DISTILLER_CORE_FEEDBACK_REPORTER_H_ |
+#define COMPONENTS_DOM_DISTILLER_CORE_FEEDBACK_REPORTER_H_ |
+ |
+#include "base/macros.h" |
+ |
+namespace dom_distiller { |
+ |
+// FeedbackReporter handles reporting distillation quality. |
+class FeedbackReporter { |
+ public: |
+ FeedbackReporter(); |
+ virtual ~FeedbackReporter(); |
+ |
+ // Reports the quality of the distillation. |good| represents whether the |
+ // perceived quality of the distillation of a web page was good. |
+ static void ReportQuality(bool good); |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(FeedbackReporter); |
+}; |
+ |
+} // namespace dom_distiller |
+ |
+#endif // COMPONENTS_DOM_DISTILLER_CORE_FEEDBACK_REPORTER_H_ |