[Web Payment] Implicit event type in CreateForInvoke().
Before this patch, the only call site for RespondWithCallbacks::CreateForInvoke() always specified PAYMENT_REQUEST as the event type, which is redundant, because only PAYMENT_REQUEST event can invoke a payment app. This patch removes the event_type parameter from the CreateForInvoke() static method. After this patch, calling into RespondWithCallbacks::CreateForInvoke() does not require to specify an event type. Bug: 1005076 Change-Id: I9eb33b9c08585534c5ec451574ee5563efa3b52d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2090802 Commit-Queue: Rouslan Solomakhin <rouslan@chromium.org> Reviewed-by:Danyao Wang <danyao@chromium.org> Cr-Commit-Position: refs/heads/master@{#748769}
Showing
Please register or sign in to comment