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

Issue 338993007: Track when and how a profile is signed out via UMA. (Closed)

Created:
6 years, 6 months ago by Mike Lerman
Modified:
6 years, 5 months ago
CC:
chromium-reviews, tim+watch_chromium.org, haitaol+watch_chromium.org, asvitkine+watch_chromium.org, maniscalco+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Track when and how a profile is signed out via UMA. Note that this is most important for Desktop. TBR of the several reviewers because their changes are affected broadly by the refactor. Main reviewers are rogerta@ and estade@. BUG=357693 TBR=tim@chromium.org, noms@chromium.org, joaodasilva@chromium.org, courage@chromium.org, mek@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=280352

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove tracking android in separate UMA bucket #

Total comments: 10

Patch Set 3 : Pass metric parameter to SignOut() which now performs the logging. And (sorry) a rebase. #

Patch Set 4 : Rebase #

Patch Set 5 : Ensure SignOut() has a parameter in all tests #

Patch Set 6 : SignOut() param in Android tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -33 lines) Patch
M chrome/browser/android/signin/signin_manager_android.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/identity/account_tracker_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_gcm_app_handler_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/profiles/gaia_info_update_service_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/services/gcm/fake_signin_manager.h View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/services/gcm/fake_signin_manager.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/signin/account_reconcilor_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/signin/fake_signin_manager.h View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/signin/fake_signin_manager.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/signin/signin_manager_unittest.cc View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/signin/signin_names_io_thread_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 1 2 3 4 5 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_unittest.cc View 1 2 3 4 5 3 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/ui/sync/one_click_signin_sync_starter.cc View 1 2 3 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/sync_setup_handler.cc View 1 2 3 3 chunks +7 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/sync_setup_handler_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M components/signin/core/browser/signin_manager.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M components/signin/core/browser/signin_manager.cc View 1 2 5 chunks +7 lines, -4 lines 0 comments Download
M components/signin/core/browser/signin_metrics.h View 1 2 3 4 2 chunks +29 lines, -0 lines 0 comments Download
M components/signin/core/browser/signin_metrics.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +30 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
Mike Lerman
Hi reviewers, PTAL. For tim, estade and nyquist, can you verify that, based on the ...
6 years, 6 months ago (2014-06-17 15:58:19 UTC) #1
Alexei Svitkine (slow)
https://codereview.chromium.org/338993007/diff/1/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/338993007/diff/1/tools/metrics/histograms/histograms.xml#newcode43506 tools/metrics/histograms/histograms.xml:43506: + User clicked to signout on android. Is there ...
6 years, 6 months ago (2014-06-17 18:13:47 UTC) #2
Mike Lerman
https://codereview.chromium.org/338993007/diff/1/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/338993007/diff/1/tools/metrics/histograms/histograms.xml#newcode43506 tools/metrics/histograms/histograms.xml:43506: + User clicked to signout on android. On 2014/06/17 ...
6 years, 6 months ago (2014-06-17 18:51:50 UTC) #3
Alexei Svitkine (slow)
histograms lgtm, but I'll let others review the code changes
6 years, 6 months ago (2014-06-17 18:57:46 UTC) #4
Evan Stade
https://codereview.chromium.org/338993007/diff/20001/chrome/browser/ui/webui/sync_setup_handler.cc File chrome/browser/ui/webui/sync_setup_handler.cc (right): https://codereview.chromium.org/338993007/diff/20001/chrome/browser/ui/webui/sync_setup_handler.cc#newcode810 chrome/browser/ui/webui/sync_setup_handler.cc:810: SigninManagerFactory::GetForProfile(GetProfile())->SignOut(); I think you should make SignOut take a ...
6 years, 6 months ago (2014-06-19 01:55:13 UTC) #5
Roger Tawa OOO till Jul 10th
lgtm, agree with Evan that adding an arg to SigninManager::SignOut() would be safer to catch ...
6 years, 6 months ago (2014-06-19 14:55:13 UTC) #6
Mike Lerman
Sorry, got a rebase mixed up in there :( Comments addressed. https://codereview.chromium.org/338993007/diff/20001/chrome/browser/ui/webui/sync_setup_handler.cc File chrome/browser/ui/webui/sync_setup_handler.cc (right): ...
6 years, 6 months ago (2014-06-19 17:55:48 UTC) #7
nyquist
chrome/browser/android/ lgtm
6 years, 6 months ago (2014-06-19 18:40:25 UTC) #8
Evan Stade
lgtm https://codereview.chromium.org/338993007/diff/20001/components/signin/core/browser/signin_metrics.h File components/signin/core/browser/signin_metrics.h (right): https://codereview.chromium.org/338993007/diff/20001/components/signin/core/browser/signin_metrics.h#newcode28 components/signin/core/browser/signin_metrics.h:28: TRANSFER_CREDENTIALS, On 2014/06/19 17:55:48, Mike Lerman wrote: > ...
6 years, 6 months ago (2014-06-19 21:33:36 UTC) #9
Mike Lerman
Evan and Roger, Can I ask for a follow-up review? I've made changes to the ...
6 years, 6 months ago (2014-06-26 13:03:16 UTC) #10
Joao da Silva
policy lgtm
6 years, 6 months ago (2014-06-26 13:08:31 UTC) #11
Evan Stade
webui lgtm
6 years, 6 months ago (2014-06-26 16:17:00 UTC) #12
Michael Courage
chrome/browser/extensions/api/identity lgtm
6 years, 6 months ago (2014-06-26 17:12:41 UTC) #13
Roger Tawa OOO till Jul 10th
lgtm
6 years, 5 months ago (2014-06-27 15:45:29 UTC) #14
Mike Lerman
The CQ bit was checked by mlerman@chromium.org
6 years, 5 months ago (2014-06-27 15:48:42 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlerman@chromium.org/338993007/140001
6 years, 5 months ago (2014-06-27 15:49:15 UTC) #16
commit-bot: I haz the power
6 years, 5 months ago (2014-06-27 17:09:46 UTC) #17
Message was sent while issue was closed.
Change committed as 280352

Powered by Google App Engine
This is Rietveld 408576698