#include "chrome/browser/extensions/extension_telemetry_service_verdict_handler.h"
#include "base/metrics/histogram_functions.h"
#include "chrome/browser/extensions/extension_service.h"
#include "extensions/browser/blocklist_extension_prefs.h"
#include "extensions/browser/blocklist_state.h"
namespace extensions {
namespace {
ExtensionTelemetryDisableReason GetExtensionTelemetryDisableReason(
BitMapBlocklistState state) { … }
void ReportOffstoreExtensionDisabled(ExtensionTelemetryDisableReason reason) { … }
void ReportOffstoreExtensionReenabled(BitMapBlocklistState state) { … }
}
ExtensionTelemetryServiceVerdictHandler::
ExtensionTelemetryServiceVerdictHandler(ExtensionPrefs* extension_prefs,
ExtensionRegistry* registry,
ExtensionService* extension_service)
: … { … }
void ExtensionTelemetryServiceVerdictHandler::PerformActionBasedOnVerdicts(
const Blocklist::BlocklistStateMap& state_map) { … }
}