Do Perfect Forwarding from base::Bind to BindState storage
Replace StorageType usage with std::decay and do Perfect Forwarding from
base::Bind to BindState storage as a preparation to store a move-only
type into BindState.
The difference of StorageType and std::decay is essentially array
handling. CallbackParamTraits::StorageType converts "T[n]" to "const T*"
OTOH std::decay converts it to "T*".
BUG=554299
Review URL: https://codereview.chromium.org/1644603003
Cr-Commit-Position: refs/heads/master@{#372900}
CrOS-Libchrome-Original-Commit: cdec75e36dd5ec9c5643f7b473e166a3acef81ea
3 files changed