| 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 CHROME_BROWSER_ANDROID_DOM_DISTILLER_EXTERNAL_FEEDBACK_REPORTER_ANDROID_
H_ | |
| 6 #define CHROME_BROWSER_ANDROID_DOM_DISTILLER_EXTERNAL_FEEDBACK_REPORTER_ANDROID_
H_ | |
| 7 | |
| 8 #include "components/dom_distiller/content/browser/external_feedback_reporter.h" | |
| 9 #include "content/public/browser/web_contents.h" | |
| 10 | |
| 11 namespace dom_distiller { | |
| 12 | |
| 13 namespace android { | |
| 14 | |
| 15 class ExternalFeedbackReporterAndroid : public ExternalFeedbackReporter { | |
| 16 public: | |
| 17 ExternalFeedbackReporterAndroid() {} | |
| 18 ~ExternalFeedbackReporterAndroid() override {} | |
| 19 | |
| 20 // ExternalFeedbackReporter implementation. | |
| 21 void ReportExternalFeedback(content::WebContents* web_contents, | |
| 22 const GURL& url, | |
| 23 const bool good) override; | |
| 24 | |
| 25 private: | |
| 26 DISALLOW_COPY_AND_ASSIGN(ExternalFeedbackReporterAndroid); | |
| 27 }; | |
| 28 | |
| 29 // Registers the FeedbackReporter's native methods through JNI. | |
| 30 bool RegisterFeedbackReporter(JNIEnv* env); | |
| 31 | |
| 32 } // namespace android | |
| 33 | |
| 34 } // namespace dom_distiller | |
| 35 | |
| 36 #endif // CHROME_BROWSER_ANDROID_DOM_DISTILLER_EXTERNAL_FEEDBACK_REPORTER_ANDRO
ID_H_ | |
| OLD | NEW |