// Copyright 2015 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_METRICS_STABILITY_METRICS_HELPER_H_ #define COMPONENTS_METRICS_STABILITY_METRICS_HELPER_H_ #include <string> #include "base/memory/raw_ptr.h" #include "base/process/kill.h" #include "build/build_config.h" #if BUILDFLAG(IS_WIN) #include "base/win/windows_types.h" #endif class PrefRegistrySimple; class PrefService; namespace metrics { // The values here correspond to values in the Stability message in // system_profile.proto. // This must stay 1-1 with the StabilityEventType enum in enums.xml. // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.components.metrics enum class StabilityEventType { … }; // Types of content hosted by a renderer process. // // Used for metrics. Keep in sync with the "RendererHostedContentType" histogram // enum. Do not repurpose previously used indexes. enum class RendererHostedContentType { … }; class SystemProfileProto; // Responsible for providing functionality common to different embedders' // stability metrics providers. class StabilityMetricsHelper { … }; } // namespace metrics #endif // COMPONENTS_METRICS_STABILITY_METRICS_HELPER_H_