forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove
Runnable
concept from base/bind_internal.h
`Runnable` concept was useful when bind_internal.h was a huge generated file. However, it's an unneeded layer these days. This CL removes `Runnable` from bind_internal.h to simplify its impl. After this CL, BindState holds the bound Functor directly in its internal storage. This CL contains: * Merge bind_internal_win.h into bind_internal.h * Move typechecks in Bind() into MakeBindStateType. * Remove no longer used HasIsMethodTag in bind_helper.h. * Remove InvokeHelper specialization for IgnoreResult. * Merge assertion-only InvokeHelper specialization into another specialization. * Factor out the type setup in BindState into MakeBindStateType. BUG=554299 Review-Url: https://codereview.chromium.org/2106773002 Cr-Commit-Position: refs/heads/master@{#403413}
- Loading branch information
Showing
8 changed files
with
193 additions
and
461 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.