#include "content/renderer/stats_collection_controller.h"
#include "base/json/json_writer.h"
#include "base/metrics/histogram_base.h"
#include "base/metrics/histogram_macros.h"
#include "base/metrics/statistics_recorder.h"
#include "base/strings/string_util.h"
#include "content/common/renderer_host.mojom.h"
#include "content/renderer/render_thread_impl.h"
#include "gin/handle.h"
#include "gin/object_template_builder.h"
#include "third_party/blink/public/platform/scheduler/web_agent_group_scheduler.h"
#include "third_party/blink/public/web/web_local_frame.h"
#include "third_party/blink/public/web/web_view.h"
#include "v8/include/v8-context.h"
namespace content {
gin::WrapperInfo StatsCollectionController::kWrapperInfo = …;
void StatsCollectionController::Install(blink::WebLocalFrame* frame) { … }
StatsCollectionController::StatsCollectionController() { … }
StatsCollectionController::~StatsCollectionController() { … }
gin::ObjectTemplateBuilder StatsCollectionController::GetObjectTemplateBuilder(
v8::Isolate* isolate) { … }
std::string StatsCollectionController::GetHistogram(
const std::string& histogram_name) { … }
std::string StatsCollectionController::GetBrowserHistogram(
const std::string& histogram_name) { … }
}