| Index: components/profile_metrics/counts.h
|
| diff --git a/components/profile_metrics/counts.h b/components/profile_metrics/counts.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..43b48ea0aa14e356895bef23688ad2ce47425c45
|
| --- /dev/null
|
| +++ b/components/profile_metrics/counts.h
|
| @@ -0,0 +1,34 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef COMPONENTS_PROFILE_METRICS_COUNTS_H_
|
| +#define COMPONENTS_PROFILE_METRICS_COUNTS_H_
|
| +
|
| +#include <stddef.h>
|
| +
|
| +namespace profile_metrics {
|
| +
|
| +struct Counts {
|
| + size_t total;
|
| + size_t signedin;
|
| + size_t supervised;
|
| + size_t unused;
|
| + size_t gaia_icon;
|
| + size_t auth_errors;
|
| +
|
| + Counts()
|
| + : total(0),
|
| + signedin(0),
|
| + supervised(0),
|
| + unused(0),
|
| + gaia_icon(0),
|
| + auth_errors(0) {}
|
| +};
|
| +
|
| +// Logs metrics related to |counts|.
|
| +void LogProfileMetricsCounts(const Counts& counts);
|
| +
|
| +} // namespace profile_metrics
|
| +
|
| +#endif // COMPONENTS_PROFILE_METRICS_COUNTS_H_
|
|
|