• Primiano Tucci's avatar
    memory-infra: get rid of MemoryDumpManager::RequestGlobalDump method. · 5640bf19
    Primiano Tucci authored
    This CL gets rid of the MemoryDumpManager::RequestGlobalDump(),
    and moves the existing code to use the service. This allows to
    cleanup all the odd callback proxy required to match the base vs
    mojo callbacks.
    Also, this moves the dump id generation responsibility to the
    service, which is now the only one dealing with global dumps.
    
    At this point the only knowledge left in base::MemoryDumpManager
    about "global" dumps is only the |request_dump_function|, which
    is required to keep the periodic dump scheduler and peak detector
    working. This can be removed once those two are moved to the service.
    
    BUG=720352
    
    Change-Id: I25c22157234e1e627c5aeafa189df01944354e7d
    Reviewed-on: https://chromium-review.googlesource.com/536952
    Commit-Queue: Primiano Tucci <primiano@chromium.org>
    Reviewed-by: default avatarsiddhartha sivakumar <ssid@chromium.org>
    Reviewed-by: default avatarHector Dearman <hjd@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#481678}
    5640bf19
memory_dump_manager.h 13.6 KB