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.
Move most of type-level logic out of BindState, and decouple Invoker from BindState. So that we can use BindState with another Invoker impl. - UnboundRunType calculation is moved to a separate helper template as MakeUnboundRuntype. - Indices generation to extract tuple is moved from BindState to Invoker. - WeakPtr handling is moved from BindState to Invoker. This is a preparation CL as well to implement a OneShot variant of Callback. That will share the same Callback and BindState impl with different Invoker::Run impl and different Callback tag as Copyable Callback and MoveOnly Callback have. BUG=554299 Review-Url: https://codereview.chromium.org/2034633002 Cr-Commit-Position: refs/heads/master@{#402446}
- Loading branch information
Showing
5 changed files
with
90 additions
and
123 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
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