#include "components/policy/core/common/cloud/user_policy_metrics_recorder.h"
#include "base/metrics/histogram_functions.h"
#include "base/metrics/histogram_macros.h"
#include "components/policy/core/common/policy_bundle.h"
#include "components/policy/core/common/policy_map.h"
#include "components/policy/core/common/policy_namespace.h"
namespace policy {
namespace {
int CountNumberOfPoliciesOfProvider(ConfigurationPolicyProvider* provider) { … }
}
UserPolicyMetricsRecorder::UserPolicyMetricsRecorder(
ConfigurationPolicyProvider* provider)
: … { … }
UserPolicyMetricsRecorder::~UserPolicyMetricsRecorder() { … }
void UserPolicyMetricsRecorder::OnUpdatePolicy(
ConfigurationPolicyProvider* provider) { … }
void UserPolicyMetricsRecorder::RecordUserPolicyCount(
ConfigurationPolicyProvider* provider) { … }
void UserPolicyMetricsRecorder::Stop() { … }
}