• DongJun Kim's avatar
    Refactoring RespondWithCallback class · cdd6f59c
    DongJun Kim authored
    This patch is for refactoring RespondWithCallback class
    and include below changes.
    
    - Expose RespondWithCallback from PaymentAppProviderImpl.
    
    - Adds helper class like as "ServiceWorkerCoreThreadEventDispatcher"
    it appears that all of the functions that access WebContents on the
    service worker core thread are for dispatching some type of event.
    
    - Remove InvokeRespondWithcallbacksRepository then
    ServiceWorkerCoreThreadEventDispatcher owns an instance of
    InvokeRespondWithCallback instead and manage its lifetime.
    
    Bug: 1075687
    Change-Id: I34ee154600a137ef47a03f797f15da689d205a79
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2368660
    Commit-Queue: DongJun Kim <djmix.kim@samsung.com>
    Reviewed-by: default avatarJochen Eisinger <jochen@chromium.org>
    Reviewed-by: default avatarRouslan Solomakhin <rouslan@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#809926}
    cdd6f59c
respond_with_callback.h 6.56 KB