1// Copyright 2014 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5#ifndef COMPONENTS_DOM_DISTILLER_CORE_FEEDBACK_REPORTER_H_ 6#define COMPONENTS_DOM_DISTILLER_CORE_FEEDBACK_REPORTER_H_ 7 8#include "base/macros.h" 9 10namespace dom_distiller { 11 12// FeedbackReporter handles reporting distillation quality. 13class FeedbackReporter { 14 public: 15 FeedbackReporter(); 16 virtual ~FeedbackReporter(); 17 18 // Reports the quality of the distillation. |good| represents whether the 19 // perceived quality of the distillation of a web page was good. 20 static void ReportQuality(bool good); 21 22 private: 23 DISALLOW_COPY_AND_ASSIGN(FeedbackReporter); 24}; 25 26} // namespace dom_distiller 27 28#endif // COMPONENTS_DOM_DISTILLER_CORE_FEEDBACK_REPORTER_H_ 29