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 CHROME_BROWSER_ANDROID_DOM_DISTILLER_EXTERNAL_FEEDBACK_REPORTER_ANDROID_H_
6 #define CHROME_BROWSER_ANDROID_DOM_DISTILLER_EXTERNAL_FEEDBACK_REPORTER_ANDROID_H_
8 #include "components/dom_distiller/content/browser/external_feedback_reporter.h"
9 #include "content/public/browser/web_contents.h"
11 namespace dom_distiller
{
15 class ExternalFeedbackReporterAndroid
: public ExternalFeedbackReporter
{
17 ExternalFeedbackReporterAndroid() {}
18 ~ExternalFeedbackReporterAndroid() override
{}
20 // ExternalFeedbackReporter implementation.
21 void ReportExternalFeedback(content::WebContents
* web_contents
,
23 const bool good
) override
;
26 DISALLOW_COPY_AND_ASSIGN(ExternalFeedbackReporterAndroid
);
29 // Registers the FeedbackReporter's native methods through JNI.
30 bool RegisterFeedbackReporter(JNIEnv
* env
);
32 } // namespace android
34 } // namespace dom_distiller
36 #endif // CHROME_BROWSER_ANDROID_DOM_DISTILLER_EXTERNAL_FEEDBACK_REPORTER_ANDROID_H_