| Index: chrome/browser/android/dom_distiller/distiller_ui_handle_android.h
|
| diff --git a/chrome/browser/android/dom_distiller/external_feedback_reporter_android.h b/chrome/browser/android/dom_distiller/distiller_ui_handle_android.h
|
| similarity index 51%
|
| rename from chrome/browser/android/dom_distiller/external_feedback_reporter_android.h
|
| rename to chrome/browser/android/dom_distiller/distiller_ui_handle_android.h
|
| index a88d8260d609db03ffd23e0fe8979473e07ed0f6..7941155f97dbeb4f3dd7ea040cd766c22d981d13 100644
|
| --- a/chrome/browser/android/dom_distiller/external_feedback_reporter_android.h
|
| +++ b/chrome/browser/android/dom_distiller/distiller_ui_handle_android.h
|
| @@ -2,35 +2,37 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CHROME_BROWSER_ANDROID_DOM_DISTILLER_EXTERNAL_FEEDBACK_REPORTER_ANDROID_H_
|
| -#define CHROME_BROWSER_ANDROID_DOM_DISTILLER_EXTERNAL_FEEDBACK_REPORTER_ANDROID_H_
|
| +#ifndef CHROME_BROWSER_ANDROID_DOM_DISTILLER_DISTILLER_UI_HANDLE_ANDROID_H_
|
| +#define CHROME_BROWSER_ANDROID_DOM_DISTILLER_DISTILLER_UI_HANDLE_ANDROID_H_
|
|
|
| -#include "components/dom_distiller/content/browser/external_feedback_reporter.h"
|
| +#include "components/dom_distiller/content/browser/distiller_ui_handle.h"
|
| #include "content/public/browser/web_contents.h"
|
|
|
| namespace dom_distiller {
|
|
|
| namespace android {
|
|
|
| -class ExternalFeedbackReporterAndroid : public ExternalFeedbackReporter {
|
| +class DistillerUIHandleAndroid : public DistillerUIHandle {
|
| public:
|
| - ExternalFeedbackReporterAndroid() {}
|
| - ~ExternalFeedbackReporterAndroid() override {}
|
| + DistillerUIHandleAndroid() {}
|
| + ~DistillerUIHandleAndroid() override {}
|
|
|
| // ExternalFeedbackReporter implementation.
|
| void ReportExternalFeedback(content::WebContents* web_contents,
|
| const GURL& url,
|
| const bool good) override;
|
|
|
| + void OpenSettings(content::WebContents* web_contents) override;
|
| +
|
| private:
|
| - DISALLOW_COPY_AND_ASSIGN(ExternalFeedbackReporterAndroid);
|
| + DISALLOW_COPY_AND_ASSIGN(DistillerUIHandleAndroid);
|
| };
|
|
|
| // Registers the FeedbackReporter's native methods through JNI.
|
| -bool RegisterFeedbackReporter(JNIEnv* env);
|
| +bool RegisterUIHandle(JNIEnv* env);
|
|
|
| } // namespace android
|
|
|
| } // namespace dom_distiller
|
|
|
| -#endif // CHROME_BROWSER_ANDROID_DOM_DISTILLER_EXTERNAL_FEEDBACK_REPORTER_ANDROID_H_
|
| +#endif // CHROME_BROWSER_ANDROID_DOM_DISTILLER_DISTILLER_UI_HANDLE_ANDROID_H_
|
|
|