#include "services/resource_coordinator/public/cpp/memory_instrumentation/browser_metrics.h"
#include <cmath>
#include "base/rand_util.h"
#include "base/time/time.h"
#include "build/build_config.h"
namespace memory_instrumentation {
namespace {
const char kAudioServiceHistogramName[] = …;
const char kBrowserHistogramName[] = …;
const char kCdmServiceHistogramName[] = …;
const char kExtensionHistogramName[] = …;
const char kGpuHistogramName[] = …;
#if BUILDFLAG(IS_WIN)
const char kMediaFoundationServiceHistogramName[] = "MediaFoundationService";
#endif
const char kNetworkServiceHistogramName[] = …;
const char kPaintPreviewCompositorHistogramName[] = …;
const char kRendererHistogramName[] = …;
const char kUtilityHistogramName[] = …;
}
const char kMemoryHistogramPrefix[] = …;
const char* HistogramProcessTypeToString(HistogramProcessType type) { … }
std::string GetPrivateFootprintHistogramName(HistogramProcessType type) { … }
base::TimeDelta GetDelayForNextMemoryLog() { … }
}