DescriptionMake 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}
Committed: https://chromium.googlesource.com/chromium/src/+/b66ac187d7971914c0cbff0bf3733feb5b27f006
Patch Set 1 #Patch Set 2 : . #
Total comments: 4
Patch Set 3 : addressed comments #Patch Set 4 : fixed typo #Patch Set 5 : . #Messages
Total messages: 35 (23 generated)
|