#include "components/power_bookmarks/common/power_bookmark_metrics.h"
#include "base/metrics/histogram_functions.h"
#include "base/metrics/histogram_macros.h"
namespace {
const int kBytesPerKB = …;
}
namespace power_bookmarks::metrics {
void RecordPowerCreated(sync_pb::PowerBookmarkSpecifics::PowerType power_type,
bool success) { … }
void RecordPowerUpdated(sync_pb::PowerBookmarkSpecifics::PowerType power_type,
bool success) { … }
void RecordPowerDeleted(bool success) { … }
void RecordPowersDeletedForURL(
sync_pb::PowerBookmarkSpecifics::PowerType power_type,
bool success) { … }
void RecordDatabaseError(int error) { … }
void RecordDatabaseSizeAtStartup(int64_t size_in_bytes) { … }
}