Revert "Reland c91b178b07b0d - Delete dead signin code (SigninGlobalError)"
[chromium-blink-merge.git] / components / dom_distiller / content / browser / external_feedback_reporter.h
blob90586c3600fca4b6b5982e17a16c815105310983
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_CONTENT_BROWSER_EXTERNAL_FEEDBACK_REPORTER_H_
6 #define COMPONENTS_DOM_DISTILLER_CONTENT_BROWSER_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_CONTENT_BROWSER_EXTERNAL_FEEDBACK_REPORTER_H_