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

Side by Side Diff: components/signin/core/browser/signin_status_metrics_provider_base.h

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more 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 #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_STATUS_METRICS_PROVIDER_BASE_H_ 5 #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_STATUS_METRICS_PROVIDER_BASE_H_
6 #define COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_STATUS_METRICS_PROVIDER_BASE_H_ 6 #define COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_STATUS_METRICS_PROVIDER_BASE_H_
7 7
8 #include "base/macros.h"
8 #include "components/metrics/metrics_provider.h" 9 #include "components/metrics/metrics_provider.h"
9 10
10 // The base class for collecting login status of all opened profiles during one 11 // The base class for collecting login status of all opened profiles during one
11 // UMA session and recording the value into a histogram before UMA log is 12 // UMA session and recording the value into a histogram before UMA log is
12 // uploaded. Overriding class SigninStatusMetricsProvider supports platform 13 // uploaded. Overriding class SigninStatusMetricsProvider supports platform
13 // Window, Linux, Macintosh and Android, and overriding class 14 // Window, Linux, Macintosh and Android, and overriding class
14 // SigninStatusMetricsProviderChromeOS supports ChromeOS. It is currently not 15 // SigninStatusMetricsProviderChromeOS supports ChromeOS. It is currently not
15 // supported on iOS. 16 // supported on iOS.
16 class SigninStatusMetricsProviderBase : public metrics::MetricsProvider { 17 class SigninStatusMetricsProviderBase : public metrics::MetricsProvider {
17 public: 18 public:
(...skipping 29 matching lines...) Expand all
47 void ResetSigninStatus(); 48 void ResetSigninStatus();
48 49
49 private: 50 private:
50 // Sign-in status of all profiles seen so far. 51 // Sign-in status of all profiles seen so far.
51 SigninStatus signin_status_; 52 SigninStatus signin_status_;
52 53
53 DISALLOW_COPY_AND_ASSIGN(SigninStatusMetricsProviderBase); 54 DISALLOW_COPY_AND_ASSIGN(SigninStatusMetricsProviderBase);
54 }; 55 };
55 56
56 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_STATUS_METRICS_PROVIDER_BASE_H_ 57 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_STATUS_METRICS_PROVIDER_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698