• Peter Marshall's avatar
    [logger] Start cleaning up Logger class · 7da7c0bd
    Peter Marshall authored
    - Use unique ptrs for owned objects
    - Remove friendship with CpuProfiler and replace with public API
    - Remove unused method LogFailure()
    - Remove StopProfiler() which was only used by LogFailure() (removed)
      and one test, which can use StopProfilerThread() instead
    - Remove 'paused' state which was only used by the above
    - Remove 'engage' state. There is no reason we need this as along as
      users keep track of Engage/Disengage calls
    
    Drive-by cleanup:
    - Remove import of log.h from profile-generator.h
    - Remove unnecessary includes of log.h
    
    Change-Id: Ifc4ca156bef038c40953f8361ffea17788e3a59b
    Reviewed-on: https://chromium-review.googlesource.com/c/1424338
    Commit-Queue: Peter Marshall <petermarshall@chromium.org>
    Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
    Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#58957}
    7da7c0bd
Name
Last commit
Last update
..
arm Loading commit data...
arm64 Loading commit data...
ia32 Loading commit data...
mips Loading commit data...
mips64 Loading commit data...
ppc Loading commit data...
s390 Loading commit data...
x64 Loading commit data...
OWNERS Loading commit data...
debug-coverage.cc Loading commit data...
debug-coverage.h Loading commit data...
debug-evaluate.cc Loading commit data...
debug-evaluate.h Loading commit data...
debug-frames.cc Loading commit data...
debug-frames.h Loading commit data...
debug-interface.h Loading commit data...
debug-property-iterator.cc Loading commit data...
debug-property-iterator.h Loading commit data...
debug-scope-iterator.cc Loading commit data...
debug-scope-iterator.h Loading commit data...
debug-scopes.cc Loading commit data...
debug-scopes.h Loading commit data...
debug-stack-trace-iterator.cc Loading commit data...
debug-stack-trace-iterator.h Loading commit data...
debug-type-profile.cc Loading commit data...
debug-type-profile.h Loading commit data...
debug.cc Loading commit data...
debug.h Loading commit data...
interface-types.h Loading commit data...
liveedit.cc Loading commit data...
liveedit.h Loading commit data...