chromium/components/sync/base/data_type_histogram.cc

// 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.

#include "components/sync/base/data_type_histogram.h"

#include <string>

#include "base/metrics/histogram_functions.h"
#include "components/sync/base/data_type.h"

namespace syncer {

namespace {

const char kLegacyModelTypeMemoryHistogramPrefix[] =;
const char kLegacyModelTypeCountHistogramPrefix[] =;

const char kDataTypeMemoryHistogramPrefix[] =;
const char kDataTypeCountHistogramPrefix[] =;
const char kDataTypeUpdateDropHistogramPrefix[] =;
const char kDataTypeNumUnsyncedEntitiesOnModelReady[] =;

const char kEntitySizeWithMetadataHistogramPrefix[] =;
const char kEntitySizeSpecificsOnlyHistogramPrefix[] =;
const char kEntitySizeTombstoneHistogramPrefix[] =;

std::string GetHistogramSuffixForUpdateDropReason(UpdateDropReason reason) {}

}  // namespace

void SyncRecordDataTypeUpdateDropReason(UpdateDropReason reason,
                                        DataType type) {}

void SyncRecordDataTypeMemoryHistogram(DataType data_type, size_t bytes) {}

void SyncRecordDataTypeCountHistogram(DataType data_type, size_t count) {}

void SyncRecordDataTypeEntitySizeHistogram(DataType data_type,
                                           bool is_tombstone,
                                           size_t specifics_bytes,
                                           size_t total_bytes) {}

void SyncRecordDataTypeNumUnsyncedEntitiesOnModelReady(
    DataType data_type,
    size_t num_unsynced_entities) {}

void SyncRecordModelClearedOnceHistogram(DataType data_type) {}

void RecordSyncToSigninMigrationReadingListStep(ReadingListMigrationStep step) {}

}  // namespace syncer