1 // Copyright 2014 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 package org.chromium.chrome.browser.dom_distiller;
7 import android.app.Activity;
10 * Provides a way of reporting feedback to an external feedback service.
12 public interface ExternalFeedbackReporter {
14 * Records feedback for the distilled content.
16 * @param activity the activity to take a screenshot of.
17 * @param url the URL to report feedback for.
18 * @param good whether the perceived quality of the distillation of a web page was good.
20 void reportFeedback(Activity activity, String url, boolean good);