Move logic from ProfilingProcessHost into Supervisor.
This CL is a refactor and has no intended behavior change.
This CL:
* Creates a new class Supervisor in components/heap_profiling. This class
presents a single interface for tests and consumers of the Heap Profiling
Service.
* Moves end to end test logic into components/heap_profiling.
* Leaves the emit metrics, save to file, and upload in background logic in
ProfilingProcessHost.
This refactor is necessary in order to expose this shared logic [previously
located in chrome/] to Android WebView.
The changes in this CL are tested by the end to end tests in
ProfilingTestDriver.
Change-Id: I3fda597b210522404203ac9cf932f7bccd76cad7
Bug: 827545
Reviewed-on: https://chromium-review.googlesource.com/1008366
Commit-Queue: Erik Chen <erikchen@chromium.org>
Reviewed-by:
Ken Rockot <rockot@chromium.org>
Reviewed-by:
Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#551055}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment