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

Issue 1473543002: Implement newly designed sign-in related histograms for desktop platorms. (Closed)

Created:
5 years, 1 month ago by gogerald1
Modified:
3 years, 5 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement newly designed sign-in related histograms for desktop platorms. This CL splits signin_metrics::Source into signin_metrics::AccessPoint and signin_metrics::Reason. It implements three new histograms Signin.SigninStartedAccessPoint, Signin.SigninCompletedAccessPoint and Signin.SigninReason. These histograms could replace Signin.SigninSource histogram with extra capabilities. https://docs.google.com/a/google.com/document/d/1-gXYAMXXgsJhk6jxO55RuYJ00JBGermevJZ0sIlk6ko/edit?usp=sharingusp=sharing contains details. BUG=532557 Committed: https://crrev.com/71bf6c90880518262efc373771eb621617d09c39 Cr-Commit-Position: refs/heads/master@{#363640}

Patch Set 1 : #

Patch Set 2 : #

Total comments: 16

Patch Set 3 : #

Patch Set 4 : Rebase (Minute Maid sign in flow) #

Total comments: 2

Patch Set 5 : #

Patch Set 6 : add comments #

Total comments: 28

Patch Set 7 : #

Patch Set 8 : address comments #

Total comments: 4

Patch Set 9 : document signin.signinreason histogram #

Total comments: 8

Patch Set 10 : #

Patch Set 11 : #

Total comments: 1

Patch Set 12 : #

Patch Set 13 : format #

Unified diffs Side-by-side diffs Delta from patch set Stats (+736 lines, -425 lines) Patch
M chrome/browser/app_controller_mac.mm View 1 2 3 4 5 6 1 chunk +4 lines, -3 lines 0 comments Download
M chrome/browser/extensions/api/principals_private/principals_private_api.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/printing/print_dialog_cloud.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/profiles/host_zoom_map_browsertest.cc View 1 2 3 4 5 6 4 chunks +10 lines, -2 lines 0 comments Download
M chrome/browser/resources/options/browser_options.js View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/options/manage_profile_overlay.js View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/options/sync_setup_overlay.js View 1 2 3 4 5 6 7 8 9 10 2 chunks +12 lines, -30 lines 0 comments Download
M chrome/browser/signin/chrome_signin_helper.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/signin/signin_global_error.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/signin/signin_promo.h View 1 2 3 chunks +24 lines, -11 lines 0 comments Download
M chrome/browser/signin/signin_promo.cc View 1 2 3 4 5 6 7 8 9 4 chunks +83 lines, -33 lines 0 comments Download
M chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/browser_command_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/browser_commands.cc View 1 2 3 4 5 6 1 chunk +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/browser_mac.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/browser_mac.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/browser_window.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +15 lines, -3 lines 0 comments Download
M chrome/browser/ui/chrome_pages.h View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/chrome_pages.cc View 1 2 3 4 5 6 4 chunks +14 lines, -11 lines 0 comments Download
M chrome/browser/ui/cocoa/bookmarks/bookmark_sync_promo_controller.mm View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.h View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.mm View 1 2 1 chunk +7 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm View 1 2 3 4 5 6 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/profiles/avatar_base_controller.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm View 1 2 3 4 5 6 4 chunks +10 lines, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/profiles/profile_chooser_controller.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +10 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm View 1 2 3 4 5 6 4 chunks +10 lines, -7 lines 0 comments Download
M chrome/browser/ui/cocoa/profiles/profile_chooser_controller_unittest.mm View 1 2 3 4 5 6 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/profiles/user_manager_mac.mm View 1 2 3 4 5 6 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/startup/startup_browser_creator_browsertest.cc View 1 2 3 4 5 6 10 chunks +15 lines, -18 lines 0 comments Download
M chrome/browser/ui/startup/startup_browser_creator_impl.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/startup/startup_browser_creator_triggered_reset_browsertest_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/sync/one_click_signin_sync_observer.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/sync/one_click_signin_sync_observer_unittest.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/sync/one_click_signin_sync_starter.h View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/sync/one_click_signin_sync_starter.cc View 1 2 3 4 5 3 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/sync/one_click_signin_sync_starter_unittest.cc View 1 2 3 4 1 chunk +4 lines, -11 lines 0 comments Download
M chrome/browser/ui/user_manager.cc View 1 2 3 4 5 6 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/frame/browser_view.h View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +9 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/frame/glass_browser_frame_view.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/frame/opaque_browser_frame_view.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/profiles/profile_chooser_view.h View 1 2 3 4 5 6 3 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/ui/views/profiles/profile_chooser_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +10 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/profiles/profile_chooser_view_browsertest.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/profiles/signin_view_controller.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +11 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/profiles/signin_view_controller.cc View 1 2 2 chunks +9 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/profiles/supervised_user_avatar_label.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/profiles/user_manager_view.cc View 1 2 3 4 5 6 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/app_launcher_login_handler.cc View 1 2 3 4 5 6 7 2 chunks +14 lines, -9 lines 0 comments Download
M chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/options/sync_setup_handler.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +8 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/options/sync_setup_handler.cc View 1 2 3 4 5 6 7 6 chunks +25 lines, -13 lines 0 comments Download
M chrome/browser/ui/webui/options/sync_setup_handler_unittest.cc View 1 2 3 4 5 6 7 16 chunks +17 lines, -16 lines 0 comments Download
M chrome/browser/ui/webui/settings/sync_handler.h View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +9 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/settings/sync_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +24 lines, -13 lines 0 comments Download
M chrome/browser/ui/webui/settings/sync_handler_unittest.cc View 1 2 3 4 5 6 7 16 chunks +17 lines, -16 lines 0 comments Download
M chrome/browser/ui/webui/signin/inline_login_handler.cc View 1 2 3 4 5 6 1 chunk +7 lines, -7 lines 0 comments Download
M chrome/browser/ui/webui/signin/inline_login_handler_impl.h View 1 2 3 4 3 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/signin/inline_login_handler_impl.cc View 1 2 3 4 5 6 17 chunks +58 lines, -47 lines 0 comments Download
M chrome/browser/ui/webui/signin/inline_login_ui_browsertest.cc View 1 2 3 4 5 6 20 chunks +52 lines, -53 lines 0 comments Download
M chrome/browser/ui/webui/signin/login_ui_service.cc View 1 2 3 4 5 6 2 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/signin/login_ui_test_utils.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/signin/login_ui_test_utils.cc View 1 2 3 4 5 6 2 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/sync_setup_browsertest.js View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/webui_webview_browsertest.cc View 1 2 3 4 5 6 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/ui/zoom/zoom_controller_browsertest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/test/base/test_browser_window.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +5 lines, -2 lines 0 comments Download
M components/signin/core/browser/signin_metrics.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +50 lines, -18 lines 0 comments Download
M components/signin/core/browser/signin_metrics.cc View 1 2 3 4 5 6 2 chunks +17 lines, -4 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +50 lines, -0 lines 0 comments Download

Messages

Total messages: 66 (37 generated)
gogerald1
Hi Roger, Please help take look of this CL for newly sign-in related histograms. Will ...
5 years ago (2015-11-27 22:52:01 UTC) #25
Roger Tawa OOO till Jul 10th
Looks good Ganggui. A few comments below. https://codereview.chromium.org/1473543002/diff/360001/chrome/browser/extensions/api/principals_private/principals_private_api.cc File chrome/browser/extensions/api/principals_private/principals_private_api.cc (right): https://codereview.chromium.org/1473543002/diff/360001/chrome/browser/extensions/api/principals_private/principals_private_api.cc#newcode40 chrome/browser/extensions/api/principals_private/principals_private_api.cc:40: signin_metrics::ACCESS_POINT_AVATAR_BUBBLE_SIGN_IN); This ...
5 years ago (2015-12-02 20:33:49 UTC) #26
gogerald1
Hi Roger, Thanks for quick review, I rebased this CL to support Minute maid sign ...
5 years ago (2015-12-03 17:49:04 UTC) #29
Roger Tawa OOO till Jul 10th
https://codereview.chromium.org/1473543002/diff/440001/chrome/browser/ui/sync/one_click_signin_sync_starter.cc File chrome/browser/ui/sync/one_click_signin_sync_starter.cc (right): https://codereview.chromium.org/1473543002/diff/440001/chrome/browser/ui/sync/one_click_signin_sync_starter.cc#newcode432 chrome/browser/ui/sync/one_click_signin_sync_starter.cc:432: const GURL& current_url = web_contents()->GetURL(); It seems the web ...
5 years ago (2015-12-03 18:18:07 UTC) #30
gogerald1
Thanks for pointing it out, Update it, not notice that web contents may disappear after ...
5 years ago (2015-12-03 19:03:19 UTC) #31
Roger Tawa OOO till Jul 10th
lgtm Would be good to add a comment that the current_url_ is invalid only in ...
5 years ago (2015-12-03 20:18:40 UTC) #32
gogerald1
Hi All, vandebo@chromium.org: Please review changes in chrome/browser/printing/* asvitkine@chromium.org: Please review changes in tools/metrics/histograms/histograms.xml rsesek@chromium.org: ...
5 years ago (2015-12-03 21:11:50 UTC) #34
benwells
chrome/browser/extensions/* chrome/browser/ui/views/extensions/* both lgtm
5 years ago (2015-12-03 22:33:13 UTC) #35
sky
I did *not* look at c/b/ui/webui. https://codereview.chromium.org/1473543002/diff/480001/chrome/browser/profiles/host_zoom_map_browsertest.cc File chrome/browser/profiles/host_zoom_map_browsertest.cc (right): https://codereview.chromium.org/1473543002/diff/480001/chrome/browser/profiles/host_zoom_map_browsertest.cc#newcode247 chrome/browser/profiles/host_zoom_map_browsertest.cc:247: GURL test_url = ...
5 years ago (2015-12-03 22:45:28 UTC) #36
vandebo (ex-Chrome)
+thestig@
5 years ago (2015-12-04 05:50:16 UTC) #38
Bernhard Bauer
https://codereview.chromium.org/1473543002/diff/480001/chrome/browser/profiles/host_zoom_map_browsertest.cc File chrome/browser/profiles/host_zoom_map_browsertest.cc (right): https://codereview.chromium.org/1473543002/diff/480001/chrome/browser/profiles/host_zoom_map_browsertest.cc#newcode130 chrome/browser/profiles/host_zoom_map_browsertest.cc:130: GURL ConstructTestServerURL(const char* url_template) { This method should probably ...
5 years ago (2015-12-04 11:06:24 UTC) #39
Robert Sesek
cocoa/ LGTM
5 years ago (2015-12-04 17:32:39 UTC) #40
gogerald1
Hi Scott and Bernhard, Thanks for quick review feedback, please take another look. Ganggui, https://codereview.chromium.org/1473543002/diff/480001/chrome/browser/profiles/host_zoom_map_browsertest.cc ...
5 years ago (2015-12-04 20:49:09 UTC) #43
Alexei Svitkine (slow)
https://codereview.chromium.org/1473543002/diff/560001/components/signin/core/browser/signin_metrics.cc File components/signin/core/browser/signin_metrics.cc (right): https://codereview.chromium.org/1473543002/diff/560001/components/signin/core/browser/signin_metrics.cc#newcode37 components/signin/core/browser/signin_metrics.cc:37: UMA_HISTOGRAM_ENUMERATION("Signin.SigninReason", static_cast<int>(reason), Please document this in histograms.xml. https://codereview.chromium.org/1473543002/diff/560001/tools/metrics/histograms/histograms.xml File ...
5 years ago (2015-12-04 20:58:15 UTC) #44
Lei Zhang
On 2015/12/03 21:11:50, gogerald1 wrote: > mailto:vandebo@chromium.org: Please review changes in > chrome/browser/printing/* The chrome/browser/printing/ ...
5 years ago (2015-12-04 21:05:58 UTC) #45
sky
LGTM
5 years ago (2015-12-04 23:41:59 UTC) #46
gogerald1
Hi Alexei, updated histograms.xml, please help take another look. https://codereview.chromium.org/1473543002/diff/560001/components/signin/core/browser/signin_metrics.cc File components/signin/core/browser/signin_metrics.cc (right): https://codereview.chromium.org/1473543002/diff/560001/components/signin/core/browser/signin_metrics.cc#newcode37 components/signin/core/browser/signin_metrics.cc:37: ...
5 years ago (2015-12-05 00:06:13 UTC) #47
Bernhard Bauer
https://codereview.chromium.org/1473543002/diff/580001/chrome/browser/resources/options/sync_setup_overlay.js File chrome/browser/resources/options/sync_setup_overlay.js (right): https://codereview.chromium.org/1473543002/diff/580001/chrome/browser/resources/options/sync_setup_overlay.js#newcode852 chrome/browser/resources/options/sync_setup_overlay.js:852: ]); This line should be indented two spaces less. ...
5 years ago (2015-12-07 12:14:55 UTC) #48
gogerald1
Hi Bernhard, update your comments, PTAL. https://codereview.chromium.org/1473543002/diff/580001/chrome/browser/resources/options/sync_setup_overlay.js File chrome/browser/resources/options/sync_setup_overlay.js (right): https://codereview.chromium.org/1473543002/diff/580001/chrome/browser/resources/options/sync_setup_overlay.js#newcode852 chrome/browser/resources/options/sync_setup_overlay.js:852: ]); On 2015/12/07 ...
5 years ago (2015-12-07 16:45:30 UTC) #49
Bernhard Bauer
https://codereview.chromium.org/1473543002/diff/580001/chrome/browser/resources/options/sync_setup_overlay.js File chrome/browser/resources/options/sync_setup_overlay.js (right): https://codereview.chromium.org/1473543002/diff/580001/chrome/browser/resources/options/sync_setup_overlay.js#newcode852 chrome/browser/resources/options/sync_setup_overlay.js:852: ]); On 2015/12/07 16:45:29, gogerald1 wrote: > On 2015/12/07 ...
5 years ago (2015-12-07 16:49:27 UTC) #50
Bernhard Bauer
Also, please make sure that chromium-reviews@ is on CC. (If `git cl upload` didn't add ...
5 years ago (2015-12-07 16:52:35 UTC) #51
gogerald1
oops, silly mistake, suggestion accepted, see updates.
5 years ago (2015-12-07 17:47:25 UTC) #52
Bernhard Bauer
LGTM, thanks!
5 years ago (2015-12-07 17:56:01 UTC) #53
Alexei Svitkine (slow)
lgtm % comment https://codereview.chromium.org/1473543002/diff/620001/components/signin/core/browser/signin_metrics.h File components/signin/core/browser/signin_metrics.h (right): https://codereview.chromium.org/1473543002/diff/620001/components/signin/core/browser/signin_metrics.h#newcode108 components/signin/core/browser/signin_metrics.h:108: SOURCE_OTHERS, SOURCE_OTHERS is now replacing SOURCE_EXTENSION_INSTALL_BUBBLE. ...
5 years ago (2015-12-07 18:13:51 UTC) #54
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1473543002/640001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1473543002/640001
5 years ago (2015-12-07 19:40:54 UTC) #57
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/125996)
5 years ago (2015-12-07 21:00:00 UTC) #59
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1473543002/660001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1473543002/660001
5 years ago (2015-12-07 22:01:33 UTC) #62
commit-bot: I haz the power
Committed patchset #13 (id:660001)
5 years ago (2015-12-08 00:49:47 UTC) #64
commit-bot: I haz the power
5 years ago (2015-12-08 00:50:54 UTC) #66
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/71bf6c90880518262efc373771eb621617d09c39
Cr-Commit-Position: refs/heads/master@{#363640}

Powered by Google App Engine
This is Rietveld 408576698