Commit a77fe48e authored by Pete Williamson's avatar Pete Williamson Committed by Commit Bot

Add sendFeedback to the FeedActionsHandler XSurface interface.

Bug: 1099504
Change-Id: Ibc4be80ef25fb8374d67c981c6811caddae9d45d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2268546Reviewed-by: default avatarJustin DeWitt <dewittj@chromium.org>
Commit-Queue: Peter Williamson <petewil@chromium.org>
Cr-Commit-Position: refs/heads/master@{#783685}
parent 59068462
......@@ -4,6 +4,8 @@
package org.chromium.chrome.browser.xsurface;
import java.util.Map;
/**
* Interface to provide chromium calling points for a feed.
*/
......@@ -21,6 +23,11 @@ public interface FeedActionsHandler {
*/
default void processThereAndBackAgainData(byte[] data) {}
/**
* Triggers Chrome to send user feedback for this card.
*/
default void sendFeedback(Map<String, String> productSpecificDataMap) {}
/**
* Requests to dismiss a card. A change ID will be returned and it can be used to commit or
* discard the change.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment