[PM] Add a one-shot equivalent to V8PerFrameMemoryRequest
This object will create a memory request for a single renderer process and send it immediately. The renderer will perform the request at the next GC as specified by the measurement mode. This implementation actually sends memory requests to all renderers and ignores responses from the unininteresting ones. A followup will only send the request to the given renderer process. Also updates ExpectBindAndRespondToQuery to test the process ID with gmock matchers instead of DCHECK, so that it can be called multiple times with different process ID's in the same test. R=chrisha, ulan Bug: 1080672 Change-Id: Icba4b66f60bd32b86ea7786441aa84559395b570 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2430063 Commit-Queue: Joe Mason <joenotcharles@chromium.org> Reviewed-by:Chris Hamilton <chrisha@chromium.org> Reviewed-by:
Ulan Degenbaev <ulan@chromium.org> Cr-Commit-Position: refs/heads/master@{#813872}
Showing
Please register or sign in to comment