Skeleton for BackgroundTracingManager.
commit0b016196499e8b5da3f20d90b201d90339ec88c8
authorsimonhatch <simonhatch@chromium.org>
Fri, 22 May 2015 19:14:02 +0000 (22 12:14 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 22 May 2015 19:14:36 +0000 (22 19:14 +0000)
tree7fec13179c4f3ebc11fd051aa91fa918a2de82ee
parent1b81bc40235207ece7fe8cae3e7c1d828f7aa68f
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

Committed: https://crrev.com/c9cd43c8963301a6b1ebfb74c4eb03b8c733e9f9
Cr-Commit-Position: refs/heads/master@{#330942}

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

Cr-Commit-Position: refs/heads/master@{#331141}
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]