RC: Index render process map by RPH ID instead of handle.
This avoids creating a new entry in the map for each process on each cycle on Windows, which was happening as of my last change. Add a state variable to keep track of when a measurement cycle is underway in preparation for allowing measurement requests at arbitrary times. Replace the delegate class with a simple virtual function, and use protected access control in combination with a Testing* subclass to expose class' internal state for testing. This allows removing all test-specific code from the class declaration. Bug: 755840 Change-Id: I7658a355525fffe92327bb85151ba124cc81d371 Reviewed-on: https://chromium-review.googlesource.com/1015299 Commit-Queue: Sigurður Ásgeirsson <siggi@chromium.org> Reviewed-by:Chris Hamilton <chrisha@chromium.org> Cr-Commit-Position: refs/heads/master@{#551794}
Showing
Please register or sign in to comment