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

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

Issue 2862653002: If force-sign-in policy is enabled, popup warning dialog before window closing if auth token becom… (Closed)
Patch Set: nit Created 3 years, 6 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/test/BUILD.gn ('k') | tools/metrics/actions/actions.xml » ('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 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 ACCESS_POINT_CLOUD_PRINT, 136 ACCESS_POINT_CLOUD_PRINT,
137 ACCESS_POINT_CONTENT_AREA, 137 ACCESS_POINT_CONTENT_AREA,
138 ACCESS_POINT_SIGNIN_PROMO, 138 ACCESS_POINT_SIGNIN_PROMO,
139 ACCESS_POINT_RECENT_TABS, 139 ACCESS_POINT_RECENT_TABS,
140 ACCESS_POINT_UNKNOWN, // This should never have been used to get signin URL. 140 ACCESS_POINT_UNKNOWN, // This should never have been used to get signin URL.
141 ACCESS_POINT_PASSWORD_BUBBLE, 141 ACCESS_POINT_PASSWORD_BUBBLE,
142 ACCESS_POINT_AUTOFILL_DROPDOWN, 142 ACCESS_POINT_AUTOFILL_DROPDOWN,
143 ACCESS_POINT_NTP_CONTENT_SUGGESTIONS, 143 ACCESS_POINT_NTP_CONTENT_SUGGESTIONS,
144 ACCESS_POINT_RESIGNIN_INFOBAR, 144 ACCESS_POINT_RESIGNIN_INFOBAR,
145 ACCESS_POINT_TAB_SWITCHER, 145 ACCESS_POINT_TAB_SWITCHER,
146 ACCESS_POINT_FORCE_SIGNIN_WARNING,
146 ACCESS_POINT_MAX, // This must be last. 147 ACCESS_POINT_MAX, // This must be last.
147 }; 148 };
148 149
149 // Enum values which enumerates all user actions on the mobile sign-in promo. 150 // Enum values which enumerates all user actions on the mobile sign-in promo.
150 enum class PromoAction : int { 151 enum class PromoAction : int {
151 PROMO_ACTION_NO_SIGNIN_PROMO = 0, 152 PROMO_ACTION_NO_SIGNIN_PROMO = 0,
152 PROMO_ACTION_WITH_DEFAULT, 153 PROMO_ACTION_WITH_DEFAULT,
153 PROMO_ACTION_NOT_DEFAULT, 154 PROMO_ACTION_NOT_DEFAULT,
154 PROMO_ACTION_NEW_ACCOUNT, 155 PROMO_ACTION_NEW_ACCOUNT,
155 }; 156 };
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 UMA_HISTOGRAM_ENUMERATION(name "_Periodic", sample, boundary_value); \ 422 UMA_HISTOGRAM_ENUMERATION(name "_Periodic", sample, boundary_value); \
422 break; \ 423 break; \
423 case ReportingType::ON_CHANGE: \ 424 case ReportingType::ON_CHANGE: \
424 UMA_HISTOGRAM_ENUMERATION(name "_OnChange", sample, boundary_value); \ 425 UMA_HISTOGRAM_ENUMERATION(name "_OnChange", sample, boundary_value); \
425 break; \ 426 break; \
426 } 427 }
427 428
428 } // namespace signin_metrics 429 } // namespace signin_metrics
429 430
430 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_METRICS_H_ 431 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_METRICS_H_
OLDNEW
« no previous file with comments | « chrome/test/BUILD.gn ('k') | tools/metrics/actions/actions.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698