DescriptionBlinkGCPlugin: Add support for traceAfterDispatchImpl().
This patch adds support for trace call validation in traceAfterDispatchImpl()
which can be called from traceAfterDispatch().
The changes in this patch should be mostly straightforward except for the
introduction of Config::GetTraceMethodType(). The motivation to this change is
based on the fact that we now have four different types of trace functions.
The function is extended from the former Config::IsTraceMethod() so it can
return the type of the trace method as defined in TraceMethodType. The new
Config::IsTraceMethod() is implemented in terms of it.
This patch comes with tests that check traceAfterDispatchImpl() use cases (both
valid and invalid), and some obvious refactorings to follow Chromium coding
style.
BUG=none
R=kouhei@chromium.org
CC=zerny@chromium.org, oilpan-reviews@chromium.org
Committed: https://crrev.com/1d8ad73cca9d20a5e45821edd30c22bfa105840e
Cr-Commit-Position: refs/heads/master@{#317541}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Adjust switch-case order. #Messages
Total messages: 14 (4 generated)
|