#include "components/ukm/debug/ukm_debug_data_extractor.h"
#include <inttypes.h>
#include <map>
#include <utility>
#include <vector>
#include "base/format_macros.h"
#include "base/memory/raw_ptr.h"
#include "base/strings/stringprintf.h"
#include "services/metrics/public/cpp/ukm_decode.h"
#include "services/metrics/public/cpp/ukm_source.h"
#include "services/metrics/public/cpp/ukm_source_id.h"
#include "services/metrics/public/mojom/ukm_interface.mojom.h"
#include "url/gurl.h"
namespace ukm {
namespace debug {
namespace {
static const uint64_t BIT_FILTER_LAST32 = …;
struct SourceData { … };
std::string GetName(const ukm::builders::EntryDecoder& decoder, uint64_t hash) { … }
base::Value::Dict ConvertEntryToDict(const ukm::builders::DecodeMap& decode_map,
const mojom::UkmEntry& entry) { … }
}
UkmDebugDataExtractor::UkmDebugDataExtractor() = default;
UkmDebugDataExtractor::~UkmDebugDataExtractor() = default;
base::Value UkmDebugDataExtractor::UInt64AsPairOfInt(uint64_t v) { … }
base::Value UkmDebugDataExtractor::GetStructuredData(
const UkmService* ukm_service) { … }
}
}