| OLD | NEW |
| (Empty) |
| 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. | |
| 4 | |
| 5 #ifndef COMPONENTS_DOM_DISTILLER_CONTENT_BROWSER_EXTERNAL_FEEDBACK_REPORTER_H_ | |
| 6 #define COMPONENTS_DOM_DISTILLER_CONTENT_BROWSER_EXTERNAL_FEEDBACK_REPORTER_H_ | |
| 7 | |
| 8 #include "base/macros.h" | |
| 9 #include "content/public/browser/web_contents.h" | |
| 10 #include "url/gurl.h" | |
| 11 | |
| 12 namespace dom_distiller { | |
| 13 | |
| 14 // ExternalFeedbackReporter handles reporting distillation quality through an | |
| 15 // external source. | |
| 16 class ExternalFeedbackReporter { | |
| 17 public: | |
| 18 ExternalFeedbackReporter() {} | |
| 19 virtual ~ExternalFeedbackReporter() {} | |
| 20 | |
| 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; | |
| 25 | |
| 26 private: | |
| 27 DISALLOW_COPY_AND_ASSIGN(ExternalFeedbackReporter); | |
| 28 }; | |
| 29 | |
| 30 } // namespace dom_distiller | |
| 31 | |
| 32 #endif // COMPONENTS_DOM_DISTILLER_CONTENT_BROWSER_EXTERNAL_FEEDBACK_REPORTER_H
_ | |
| OLD | NEW |