Home | History | Annotate | Download | only in dom_distiller
      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.
      4 
      5 package org.chromium.chrome.browser.dom_distiller;
      6 
      7 import android.app.Activity;
      8 
      9 /**
     10  * Provides a way of reporting feedback to an external feedback service.
     11  */
     12 public interface ExternalFeedbackReporter {
     13     /**
     14      * Records feedback for the distilled content.
     15      *
     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.
     19      */
     20     void reportFeedback(Activity activity, String url, boolean good);
     21 }
     22