#include "ui/color/color_metrics.h"
#include "base/command_line.h"
#include "base/metrics/histogram_functions.h"
namespace {
constexpr int kCacheHistogramMax = …;
bool IsBrowserProcess() { … }
}
namespace ui {
void RecordColorProviderCacheSize(int cache_size) { … }
void RecordNumColorProvidersInitializedDuringOnNativeThemeUpdated(
int num_providers) { … }
void RecordTimeSpentInitializingColorProvider(base::TimeDelta duration) { … }
void RecordTimeSpentProcessingOnNativeThemeUpdatedEvent(
base::TimeDelta duration) { … }
}