Skeleton for BackgroundTracingManager.
commitc9cd43c8963301a6b1ebfb74c4eb03b8c733e9f9
authorsimonhatch <simonhatch@chromium.org>
Thu, 21 May 2015 15:30:39 +0000 (21 08:30 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 21 May 2015 15:31:23 +0000 (21 15:31 +0000)
tree26b3185093034f867fbfea456beb04de954aecec
parent774a30f2010327ae6a94ea2a8bb57d030161b0da
Skeleton for BackgroundTracingManager.

This version mostly just directs the TracingController using the specified BackgroundTracingConfig and pushes the compressed trace out to the BackgroundTracingUploadSink.

Specifically, we implement the PREEMPTIVE_TRACING_MODE for the rule MONITOR_AND_DUMP_WHEN_TRIGGER_NAMED, which should allow us to get an experiment going on desktop with a simple trigger and upload.

We can then follow up with additional CL's implementing the rest of the functionality from the clientside doc below.

Needs to land first: https://codereview.chromium.org/1088673003/

Slow Reports Clientside: https://docs.google.com/document/d/1qZmXmodxOKmsTRO27z2WlH2h9Kpf-kjV-k-1pJIogIE/edit?pli=1

go/slow-reports

Review URL: https://codereview.chromium.org/1089253003

Cr-Commit-Position: refs/heads/master@{#330942}
12 files changed:
content/browser/tracing/background_tracing_manager_browsertest.cc [new file with mode: 0644]
content/browser/tracing/background_tracing_manager_impl.cc [new file with mode: 0644]
content/browser/tracing/background_tracing_manager_impl.h [new file with mode: 0644]
content/content_browser.gypi
content/content_tests.gypi
content/public/browser/background_tracing_config.cc [new file with mode: 0644]
content/public/browser/background_tracing_config.h [new file with mode: 0644]
content/public/browser/background_tracing_manager.h [new file with mode: 0644]
content/public/browser/background_tracing_preemptive_config.cc [new file with mode: 0644]
content/public/browser/background_tracing_preemptive_config.h [new file with mode: 0644]
content/public/browser/background_tracing_reactive_config.cc [new file with mode: 0644]
content/public/browser/background_tracing_reactive_config.h [new file with mode: 0644]