Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(341)

Side by Side Diff: chrome/browser/android/dom_distiller/external_feedback_reporter_android.h

Issue 1386043002: Open distiller UI setting through JavaScript (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comment nits Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698