Description[DevTools] Access cpu profiler only when JS capability is present.
This patch:
- removes direct access to profilerAgent;
- only creates CPUProfilerModel when JS capability is present;
- migrates some target observers to CPUProfilerModel observers;
- sets sampling interval immediately before recording.
BUG=none
Review-Url: https://codereview.chromium.org/2721663005
Cr-Commit-Position: refs/heads/master@{#453804}
Committed: https://chromium.googlesource.com/chromium/src/+/ef373c14dc822c44badfd7a359cdb87b631d1a27
Patch Set 1 #Patch Set 2 : coverage #
Total comments: 4
Patch Set 3 : rebased #Dependent Patchsets: Messages
Total messages: 18 (11 generated)
|