Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Side by Side Diff: components/profile_metrics/counts.h

Issue 1417903006: Componentize ProfileMetrics::Counts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix include Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_PROFILE_METRICS_COUNTS_H_
6 #define COMPONENTS_PROFILE_METRICS_COUNTS_H_
7
8 #include <stddef.h>
9
10 namespace profile_metrics {
11
12 struct Counts {
13 size_t total;
14 size_t signedin;
15 size_t supervised;
16 size_t unused;
17 size_t gaia_icon;
18 size_t auth_errors;
19
20 Counts()
21 : total(0),
22 signedin(0),
23 supervised(0),
24 unused(0),
25 gaia_icon(0),
26 auth_errors(0) {}
27 };
28
29 // Logs metrics related to |counts|.
30 void LogProfileMetricsCounts(const Counts& counts);
31
32 } // namespace profile_metrics
33
34 #endif // COMPONENTS_PROFILE_METRICS_COUNTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698