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

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

Issue 2712883005: Sign out profile when local_state file has been changed. (Closed)
Patch Set: Merge from master Created 3 years, 9 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_METRICS_H_ 5 #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_METRICS_H_
6 #define COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_METRICS_H_ 6 #define COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_METRICS_H_
7 7
8 #include <limits.h> 8 #include <limits.h>
9 9
10 #include "base/time/time.h" 10 #include "base/time/time.h"
(...skipping 28 matching lines...) Expand all
39 // User clicked to signout from the settings page. 39 // User clicked to signout from the settings page.
40 USER_CLICKED_SIGNOUT_SETTINGS, 40 USER_CLICKED_SIGNOUT_SETTINGS,
41 // The signin process was aborted, but signin had succeeded, so signout. This 41 // The signin process was aborted, but signin had succeeded, so signout. This
42 // may be due to a server response, policy definition or user action. 42 // may be due to a server response, policy definition or user action.
43 ABORT_SIGNIN, 43 ABORT_SIGNIN,
44 // The sync server caused the profile to be signed out. 44 // The sync server caused the profile to be signed out.
45 SERVER_FORCED_DISABLE, 45 SERVER_FORCED_DISABLE,
46 // The credentials are being transfered to a new profile, so the old one is 46 // The credentials are being transfered to a new profile, so the old one is
47 // signed out. 47 // signed out.
48 TRANSFER_CREDENTIALS, 48 TRANSFER_CREDENTIALS,
49 49 // Signed out because credentials are invalid and force-sign-in is enabled.
50 AUTHENTICATION_FAILED_WITH_FORCE_SIGNIN,
50 // Keep this as the last enum. 51 // Keep this as the last enum.
51 NUM_PROFILE_SIGNOUT_METRICS, 52 NUM_PROFILE_SIGNOUT_METRICS,
52 }; 53 };
53 54
54 // Enum values used for use with "AutoLogin.Reverse" histograms. 55 // Enum values used for use with "AutoLogin.Reverse" histograms.
55 enum { 56 enum {
56 // The infobar was shown to the user. 57 // The infobar was shown to the user.
57 HISTOGRAM_SHOWN, 58 HISTOGRAM_SHOWN,
58 // The user pressed the accept button to perform the suggested action. 59 // The user pressed the accept button to perform the suggested action.
59 HISTOGRAM_ACCEPTED, 60 HISTOGRAM_ACCEPTED,
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 UMA_HISTOGRAM_ENUMERATION(name "_Periodic", sample, boundary_value); \ 407 UMA_HISTOGRAM_ENUMERATION(name "_Periodic", sample, boundary_value); \
407 break; \ 408 break; \
408 case ReportingType::ON_CHANGE: \ 409 case ReportingType::ON_CHANGE: \
409 UMA_HISTOGRAM_ENUMERATION(name "_OnChange", sample, boundary_value); \ 410 UMA_HISTOGRAM_ENUMERATION(name "_OnChange", sample, boundary_value); \
410 break; \ 411 break; \
411 } 412 }
412 413
413 } // namespace signin_metrics 414 } // namespace signin_metrics
414 415
415 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_METRICS_H_ 416 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_METRICS_H_
OLDNEW
« no previous file with comments | « components/signin/core/browser/signin_manager.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698