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

Side by Side Diff: components/signin/core/browser/signin_metrics.cc

Issue 1544283002: Clean up header files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/signin/core/browser/signin_metrics.h" 5 #include "components/signin/core/browser/signin_metrics.h"
6 6
7 #include <limits.h>
8
7 #include "base/logging.h" 9 #include "base/logging.h"
8 #include "base/metrics/histogram_macros.h" 10 #include "base/metrics/histogram_macros.h"
9 #include "base/metrics/user_metrics.h" 11 #include "base/metrics/user_metrics.h"
10 #include "base/time/time.h" 12 #include "base/time/time.h"
11 13
12 namespace signin_metrics { 14 namespace signin_metrics {
13 15
14 // Helper method to determine which |DifferentPrimaryAccounts| applies. 16 // Helper method to determine which |DifferentPrimaryAccounts| applies.
15 DifferentPrimaryAccounts ComparePrimaryAccounts(bool primary_accounts_same, 17 DifferentPrimaryAccounts ComparePrimaryAccounts(bool primary_accounts_same,
16 int pre_count_gaia_cookies) { 18 int pre_count_gaia_cookies) {
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 (base::Time::Now() - previous_activity_time).InMinutes(), 1, 149 (base::Time::Now() - previous_activity_time).InMinutes(), 1,
148 base::TimeDelta::FromDays(30).InMinutes(), 50); 150 base::TimeDelta::FromDays(30).InMinutes(), 50);
149 } 151 }
150 152
151 void LogAccountReconcilorStateOnGaiaResponse(AccountReconcilorState state) { 153 void LogAccountReconcilorStateOnGaiaResponse(AccountReconcilorState state) {
152 UMA_HISTOGRAM_ENUMERATION("Signin.AccountReconcilorState.OnGaiaResponse", 154 UMA_HISTOGRAM_ENUMERATION("Signin.AccountReconcilorState.OnGaiaResponse",
153 state, ACCOUNT_RECONCILOR_HISTOGRAM_COUNT); 155 state, ACCOUNT_RECONCILOR_HISTOGRAM_COUNT);
154 } 156 }
155 157
156 } // namespace signin_metrics 158 } // namespace signin_metrics
OLDNEW
« no previous file with comments | « components/signin/core/browser/signin_metrics.h ('k') | components/ssl_errors/error_classification.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698