#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "chrome/test/chromedriver/chrome/heap_snapshot_taker.h"
#include <stddef.h>
#include <utility>
#include "base/json/json_reader.h"
#include "chrome/test/chromedriver/chrome/devtools_client.h"
#include "chrome/test/chromedriver/chrome/status.h"
HeapSnapshotTaker::HeapSnapshotTaker(DevToolsClient* client)
: … { … }
HeapSnapshotTaker::~HeapSnapshotTaker() { … }
Status HeapSnapshotTaker::TakeSnapshot(std::unique_ptr<base::Value>* snapshot) { … }
Status HeapSnapshotTaker::TakeSnapshotInternal() { … }
bool HeapSnapshotTaker::ListensToConnections() const { … }
Status HeapSnapshotTaker::OnEvent(DevToolsClient* client,
const std::string& method,
const base::Value::Dict& params) { … }