Don't preload rarely seen large images
[chromium-blink-merge.git] / components / dom_distiller / core / external_feedback_reporter.h
blob2f9fee00b3c0c19e90544b018bb5eb7ef7cba042
1 // Copyright 2015 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_EXTERNAL_FEEDBACK_REPORTER_H_
6 #define COMPONENTS_DOM_DISTILLER_CORE_EXTERNAL_FEEDBACK_REPORTER_H_
8 #include "base/macros.h"
9 #include "content/public/browser/web_contents.h"
10 #include "url/gurl.h"
12 namespace dom_distiller {
14 // ExternalFeedbackReporter handles reporting distillation quality through an
15 // external source.
16 class ExternalFeedbackReporter {
17 public:
18 ExternalFeedbackReporter() {}
19 virtual ~ExternalFeedbackReporter() {}
21 // Start an external form to record user feedback.
22 virtual void ReportExternalFeedback(content::WebContents* web_contents,
23 const GURL& url,
24 const bool good) = 0;
26 private:
27 DISALLOW_COPY_AND_ASSIGN(ExternalFeedbackReporter);
30 } // namespace dom_distiller
32 #endif // COMPONENTS_DOM_DISTILLER_CORE_EXTERNAL_FEEDBACK_REPORTER_H_