• Rouslan Solomakhin's avatar
    [Web Payment] Modern disallow and more private members. · 42437ff7
    Rouslan Solomakhin authored
    Before this patch, the classes in payment_app_provider_impl.h/cc used a
    combination of the deprecated DISALLOW_COPY_AND_ASSIGN and not
    specifying copying behavior.
    
    This patch removes DISALLOW_COPY_AND_ASSIGN and instead explicitly
    deletes the copy constructor and assign operator in
    payment_app_provider_impl.h/cc.
    
    After this patch, the classes in payment_app_provider_impl.h/cc use the
    current style of explicitly deleting their copy constructor and assign
    operator.
    
    Bug: 1005076
    Change-Id: Ibae5b145927e2fd8e1e751605caf4aaa49b41ce4
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2090491
    Commit-Queue: Rouslan Solomakhin <rouslan@chromium.org>
    Reviewed-by: default avatarDanyao Wang <danyao@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#748733}
    42437ff7
payment_app_provider_impl.cc 32.5 KB