[Web Payment] Static CreateForCanMakePayment() method.
Before this patch, "abort" and "can make payment" shared the RespondWithCallbacks::CreateForEvent() static method, where the developer had to specify the type of the event. This patch splits CreateForEvent() into CreateForCanMakePayment() and CreateForAbort() methods. After this patch, the developer does not have to specify the event type when creating a RespondWithCallbacks object. Bug: 1005076 Change-Id: I16300965d2477711677bbfbeb347351663b320d0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2086071Reviewed-by:Danyao Wang <danyao@chromium.org> Commit-Queue: Rouslan Solomakhin <rouslan@chromium.org> Cr-Commit-Position: refs/heads/master@{#748830}
Showing
Please register or sign in to comment