• Alexander Timin's avatar
    [content] Annotate WebContentsImpl methods with trace events · 5fdeff2a
    Alexander Timin authored
    WebContentsImpl is a major class responsible for routing many events
    between different parts of //content and between //content and the rest
    of the codebase (e.g. //chrome and //components).
    
    Add trace events to all non-trivial methods to ensure that it's possible
    to understand the execution flow from reading the trace.
    
    Together with crrev.com/2343269 this in particular would allow the
    user of the tracing to know which WebContentsObserver notifications were
    dispatched.
    
    R=nasko@chromium.org
    BUG=1043616
    
    Change-Id: If00550c233ab16186a2ebf9f4042c5f1fd457fdd
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2240326
    Commit-Queue: Alexander Timin <altimin@chromium.org>
    Reviewed-by: default avatarNasko Oskov <nasko@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#804869}
    5fdeff2a
web_contents_impl.cc 347 KB