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

Issue 450363002: Simplify LoginState methods. (Closed)

Created:
6 years, 4 months ago by pneubeck (no reviews)
Modified:
6 years, 4 months ago
Reviewers:
stevenjb, Ilya Sherman
CC:
chromium-reviews, oshima+watch_chromium.org, stevenjb+watch_chromium.org, asvitkine+watch_chromium.org, Ilya Sherman, davemoore+watch_chromium.org, nkostylev+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Simplify LoginState methods. No functional change, only making the behavior of the functions more obvious. Retail mode is obsolete in R38 and later according to crbug.com/372703 and not supported anymore after this change. BUG=NONE (for chrome/browser/metrics/perf_provider_chromeos.cc, API usage) TBR=isherman@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288476

Patch Set 1 : #

Total comments: 3

Patch Set 2 : Check that retail mode is not used. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -36 lines) Patch
M chrome/browser/chromeos/options/wifi_config_view.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/settings/system_settings_provider.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/metrics/perf_provider_chromeos.cc View 1 chunk +3 lines, -5 lines 0 comments Download
M chromeos/login/login_state.h View 3 chunks +9 lines, -5 lines 0 comments Download
M chromeos/login/login_state.cc View 1 2 chunks +10 lines, -22 lines 0 comments Download
M chromeos/tpm_token_loader.cc View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
pneubeck (no reviews)
ptal. this doesn't change the TPM loading.
6 years, 4 months ago (2014-08-08 16:40:16 UTC) #1
pneubeck (no reviews)
@Mark: Please review changes in chrome/browser/metrics/perf_provider_chromeos.cc
6 years, 4 months ago (2014-08-08 16:41:26 UTC) #2
Mark P
On 2014/08/08 16:41:26, pneubeck wrote: > @Mark: Please review changes in > chrome/browser/metrics/perf_provider_chromeos.cc I don't ...
6 years, 4 months ago (2014-08-08 16:43:17 UTC) #3
stevenjb
We should confirm that LOGGED_IN_USER_RETAIL_MODE is deprecated and eliminate it, replacing the translation in UserManagerBase::UpdateLoginState ...
6 years, 4 months ago (2014-08-08 16:57:06 UTC) #4
stevenjb
+isherman@ for c/b/metrics owner
6 years, 4 months ago (2014-08-08 17:01:41 UTC) #5
pneubeck (no reviews)
On 2014/08/08 16:57:06, stevenjb wrote: > We should confirm that LOGGED_IN_USER_RETAIL_MODE is deprecated and eliminate ...
6 years, 4 months ago (2014-08-08 18:24:52 UTC) #6
stevenjb
lgtm Could you replace "doesn't have to be maintained in this change" with "is no ...
6 years, 4 months ago (2014-08-08 18:54:44 UTC) #7
stevenjb
6 years, 4 months ago (2014-08-08 18:55:20 UTC) #8
pneubeck (no reviews)
Just got green light from Vidya to remove retail mode. https://codereview.chromium.org/450363002/diff/40001/chrome/browser/chromeos/options/wifi_config_view.cc File chrome/browser/chromeos/options/wifi_config_view.cc (right): https://codereview.chromium.org/450363002/diff/40001/chrome/browser/chromeos/options/wifi_config_view.cc#newcode578 ...
6 years, 4 months ago (2014-08-08 20:45:24 UTC) #9
pneubeck (no reviews)
The CQ bit was checked by pneubeck@chromium.org
6 years, 4 months ago (2014-08-08 20:54:19 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/450363002/80002
6 years, 4 months ago (2014-08-08 20:56:29 UTC) #11
commit-bot: I haz the power
Change committed as 288476
6 years, 4 months ago (2014-08-09 00:23:39 UTC) #12
stevenjb
6 years, 4 months ago (2014-08-12 02:23:18 UTC) #13
Message was sent while issue was closed.
https://codereview.chromium.org/450363002/diff/40001/chrome/browser/chromeos/...
File chrome/browser/chromeos/options/wifi_config_view.cc (right):

https://codereview.chromium.org/450363002/diff/40001/chrome/browser/chromeos/...
chrome/browser/chromeos/options/wifi_config_view.cc:578:
LoginState::Get()->IsGuestSessionUser()) {
On 2014/08/08 20:45:24, pneubeck wrote:
> On 2014/08/08 16:57:06, stevenjb wrote:
> > Do installed certificates in public sessions persist? I guess if it is a
> public
> > session then 'login' isn't an option anyway? Maybe we should add a comment
to
> > that effect.
> 
> Yes, right. I don't want to change behavior in this CL so I added the public
> session to this condition.
> 
> In the follow up, I will remove public session from this condition as the TPM
is
> loaded and policy can install certs. I think it would be irritating to tell
the
> user to login in. The other message seems to be more helpful.

sgtm

Powered by Google App Engine
This is Rietveld 408576698