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

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

Issue 2049683002: Wire up the Chrome Sign In modal dialog from the password bubble promo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 ACCESS_POINT_APPS_PAGE_LINK, 129 ACCESS_POINT_APPS_PAGE_LINK,
130 ACCESS_POINT_BOOKMARK_BUBBLE, 130 ACCESS_POINT_BOOKMARK_BUBBLE,
131 ACCESS_POINT_BOOKMARK_MANAGER, 131 ACCESS_POINT_BOOKMARK_MANAGER,
132 ACCESS_POINT_AVATAR_BUBBLE_SIGN_IN, 132 ACCESS_POINT_AVATAR_BUBBLE_SIGN_IN,
133 ACCESS_POINT_USER_MANAGER, 133 ACCESS_POINT_USER_MANAGER,
134 ACCESS_POINT_DEVICES_PAGE, 134 ACCESS_POINT_DEVICES_PAGE,
135 ACCESS_POINT_CLOUD_PRINT, 135 ACCESS_POINT_CLOUD_PRINT,
136 ACCESS_POINT_CONTENT_AREA, 136 ACCESS_POINT_CONTENT_AREA,
137 ACCESS_POINT_SIGNIN_PROMO, 137 ACCESS_POINT_SIGNIN_PROMO,
138 ACCESS_POINT_RECENT_TABS, 138 ACCESS_POINT_RECENT_TABS,
139 ACCESS_POINT_PASSWORD_BUBBLE,
gogerald1 2016/06/08 14:57:19 move it after ACCESS_POINT_UNKNOWN, and update Sig
vasilii 2016/06/08 17:48:24 Done.
139 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.
140 ACCESS_POINT_MAX, // This must be last. 141 ACCESS_POINT_MAX, // This must be last.
141 }; 142 };
142 143
143 // Enum values which enumerates all reasons to start sign in process. 144 // Enum values which enumerates all reasons to start sign in process.
144 // A Java counterpart will be generated for this enum. 145 // A Java counterpart will be generated for this enum.
145 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.chrome.browser.signin 146 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.chrome.browser.signin
146 // GENERATED_JAVA_CLASS_NAME_OVERRIDE: SigninReason 147 // GENERATED_JAVA_CLASS_NAME_OVERRIDE: SigninReason
147 enum class Reason : int { 148 enum class Reason : int {
148 REASON_SIGNIN_PRIMARY_ACCOUNT = 0, 149 REASON_SIGNIN_PRIMARY_ACCOUNT = 0,
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 // be shown a different set of accounts in the content-area and the settings UI. 310 // be shown a different set of accounts in the content-area and the settings UI.
310 void LogAccountReconcilorStateOnGaiaResponse(AccountReconcilorState state); 311 void LogAccountReconcilorStateOnGaiaResponse(AccountReconcilorState state);
311 312
312 // Records the AccountEquality metric when an investigator compares the current 313 // Records the AccountEquality metric when an investigator compares the current
313 // and previous id/emails during a signin. 314 // and previous id/emails during a signin.
314 void LogAccountEquality(AccountEquality equality); 315 void LogAccountEquality(AccountEquality equality);
315 316
316 } // namespace signin_metrics 317 } // namespace signin_metrics
317 318
318 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_METRICS_H_ 319 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_METRICS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698