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

Issue 2384233002: Don't record re-auths, unlocks, or secondary account additions in Signin.SigninStartedAccessPoint (Closed)

Created:
4 years, 2 months ago by gogerald1
Modified:
4 years, 2 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't record re-auths, unlocks, or secondary account additions in Signin.SigninStartedAccessPoint BUG=632052 Committed: https://crrev.com/bbea865be4f600c35292aff11dc6e6f34232578e Cr-Commit-Position: refs/heads/master@{#422969}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -3 lines) Patch
M chrome/browser/ui/webui/signin/inline_login_handler.cc View 1 chunk +8 lines, -3 lines 1 comment Download

Messages

Total messages: 17 (10 generated)
gogerald1
Hi, PTAL,
4 years, 2 months ago (2016-10-03 18:09:27 UTC) #3
Roger Tawa OOO till Jul 10th
lgtm
4 years, 2 months ago (2016-10-04 20:16:34 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2384233002/1
4 years, 2 months ago (2016-10-04 21:38:24 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 2 months ago (2016-10-04 22:30:05 UTC) #12
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/bbea865be4f600c35292aff11dc6e6f34232578e Cr-Commit-Position: refs/heads/master@{#422969}
4 years, 2 months ago (2016-10-04 22:31:55 UTC) #14
brucedawson
https://codereview.chromium.org/2384233002/diff/1/chrome/browser/ui/webui/signin/inline_login_handler.cc File chrome/browser/ui/webui/signin/inline_login_handler.cc (right): https://codereview.chromium.org/2384233002/diff/1/chrome/browser/ui/webui/signin/inline_login_handler.cc#newcode203 chrome/browser/ui/webui/signin/inline_login_handler.cc:203: reason != signin_metrics::Reason::REASON_ADD_SECONDARY_ACCOUNT) { Tautology error detected. |reason| will ...
4 years, 2 months ago (2016-10-11 20:22:01 UTC) #16
gogerald
4 years, 2 months ago (2016-10-11 21:34:30 UTC) #17
Message was sent while issue was closed.
On 2016/10/11 20:22:01, brucedawson wrote:
>
https://codereview.chromium.org/2384233002/diff/1/chrome/browser/ui/webui/sig...
> File chrome/browser/ui/webui/signin/inline_login_handler.cc (right):
> 
>
https://codereview.chromium.org/2384233002/diff/1/chrome/browser/ui/webui/sig...
> chrome/browser/ui/webui/signin/inline_login_handler.cc:203: reason !=
> signin_metrics::Reason::REASON_ADD_SECONDARY_ACCOUNT) {
> Tautology error detected. |reason| will always be not equal to *one* of those
> values. I assume you meant "==" instead of "!=" or "&&" instead of "||".
> 
> This was discovered by the experimental VC++ /analyze static analyze bot.
> Warning was:
> 
> src\chrome\browser\ui\webui\signin\inline_login_handler.cc(201) : warning
C6289:
> Incorrect operator:  mutual exclusion over || is always a non-zero constant. 
> Did you intend to use && instead?
> 
> Does this also point out a gap in test coverage?
> 
> Tracking bug for /analyze found errors is 427616.

Found this problem, fixing in this CL
https://codereview.chromium.org/2411883002/

Powered by Google App Engine
This is Rietveld 408576698