Make ExecutionContext aware about how it can return CoreProbeSink
Currently ToCoreProbe code checks the given ExecutionContext's type and calls different code to get its CoreProbeSink, but in this way we need to keep adding new ToCoreProbe code every time we add new ExecutionContext, which sounds a bit cumbersome. This CL adds ExecutionContext::GetProbeSink() virtual method to mitigate that. BUG=538751 Review-Url: https://codereview.chromium.org/2847703002 Cr-Commit-Position: refs/heads/master@{#468243}
Showing
Please register or sign in to comment