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

Side by Side Diff: chrome/browser/signin/signin_status_metrics_provider_chromeos.h

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 12 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
« no previous file with comments | « chrome/browser/signin/signin_promo.cc ('k') | chrome/browser/signin/signin_tracker_factory.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CHROME_BROWSER_SIGNIN_SIGNIN_STATUS_METRICS_PROVIDER_CHROMEOS_H_ 5 #ifndef CHROME_BROWSER_SIGNIN_SIGNIN_STATUS_METRICS_PROVIDER_CHROMEOS_H_
6 #define CHROME_BROWSER_SIGNIN_SIGNIN_STATUS_METRICS_PROVIDER_CHROMEOS_H_ 6 #define CHROME_BROWSER_SIGNIN_SIGNIN_STATUS_METRICS_PROVIDER_CHROMEOS_H_
7 7
8 #include "base/gtest_prod_util.h" 8 #include "base/gtest_prod_util.h"
9 #include "base/macros.h"
9 #include "components/signin/core/browser/signin_status_metrics_provider_base.h" 10 #include "components/signin/core/browser/signin_status_metrics_provider_base.h"
10 11
11 // Record and report the browser sign-in status on ChromeOS during each UMA 12 // Record and report the browser sign-in status on ChromeOS during each UMA
12 // session. On ChromeOS, the browser can only be at unsigned-in status when 13 // session. On ChromeOS, the browser can only be at unsigned-in status when
13 // browsing as a guest, or before the user logs in (i.e. the user sees a login 14 // browsing as a guest, or before the user logs in (i.e. the user sees a login
14 // window.) When user logs out, the browser process is terminated. Therefore, 15 // window.) When user logs out, the browser process is terminated. Therefore,
15 // the browser's sign-in status during one UMA session can only be alway 16 // the browser's sign-in status during one UMA session can only be alway
16 // signed-in, or always unsigned-in, or changing from unsigned-in to signed-in. 17 // signed-in, or always unsigned-in, or changing from unsigned-in to signed-in.
17 class SigninStatusMetricsProviderChromeOS 18 class SigninStatusMetricsProviderChromeOS
18 : public SigninStatusMetricsProviderBase { 19 : public SigninStatusMetricsProviderBase {
(...skipping 15 matching lines...) Expand all
34 35
35 // Compute the sign-in status to upload to UMA log given the recorded sign-in 36 // Compute the sign-in status to upload to UMA log given the recorded sign-in
36 // status and if user is logged in now. 37 // status and if user is logged in now.
37 SigninStatus ComputeSigninStatusToUpload(SigninStatus recorded_status, 38 SigninStatus ComputeSigninStatusToUpload(SigninStatus recorded_status,
38 bool logged_in_now); 39 bool logged_in_now);
39 40
40 DISALLOW_COPY_AND_ASSIGN(SigninStatusMetricsProviderChromeOS); 41 DISALLOW_COPY_AND_ASSIGN(SigninStatusMetricsProviderChromeOS);
41 }; 42 };
42 43
43 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_STATUS_METRICS_PROVIDER_CHROMEOS_H_ 44 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_STATUS_METRICS_PROVIDER_CHROMEOS_H_
OLDNEW
« no previous file with comments | « chrome/browser/signin/signin_promo.cc ('k') | chrome/browser/signin/signin_tracker_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698