Don't preload rarely seen large images
[chromium-blink-merge.git] / components / dom_distiller / core / feedback_reporter.h
blob980253026a4f1d67258193d7f2c5c1b9a8c7da50
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.
5 #ifndef COMPONENTS_DOM_DISTILLER_CORE_FEEDBACK_REPORTER_H_
6 #define COMPONENTS_DOM_DISTILLER_CORE_FEEDBACK_REPORTER_H_
8 #include "base/macros.h"
10 namespace dom_distiller {
12 // FeedbackReporter handles reporting distillation quality.
13 class FeedbackReporter {
14 public:
15 FeedbackReporter();
16 virtual ~FeedbackReporter();
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);
22 private:
23 DISALLOW_COPY_AND_ASSIGN(FeedbackReporter);
26 } // namespace dom_distiller
28 #endif // COMPONENTS_DOM_DISTILLER_CORE_FEEDBACK_REPORTER_H_