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

Unified Diff: components/dom_distiller/core/feedback_reporter.h

Issue 197473006: Add FeedbackReporter for reporting distillation quality. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed disableUI again and comment Created 6 years, 9 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
« no previous file with comments | « components/dom_distiller.gypi ('k') | components/dom_distiller/core/feedback_reporter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « components/dom_distiller.gypi ('k') | components/dom_distiller/core/feedback_reporter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698