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

Issue 12457029: Implement a policy to auto-login a public account. (Closed)

Created:
7 years, 9 months ago by dconnelly
Modified:
7 years, 9 months ago
CC:
chromium-reviews, oshima+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Implement a policy to auto-login a public account. Un-revert 12218078, and check if the device local account policy is already set before spinning a run loop in ExistingUserControllerPublicSessionTest#SetUpOnMainThread. BUG=152933 TBR=satorux Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=189225

Patch Set 1 #

Total comments: 2

Patch Set 2 : rebase and remove dcheck #

Patch Set 3 : rebase again #

Patch Set 4 : another rebase because the bots dont want to apply the patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1411 lines, -85 lines) Patch
M chrome/app/policy/policy_templates.json View 1 2 chunks +41 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/existing_user_controller.h View 6 chunks +29 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/existing_user_controller.cc View 21 chunks +116 lines, -1 line 0 comments Download
A chrome/browser/chromeos/login/existing_user_controller_auto_login_unittest.cc View 1 chunk +246 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/existing_user_controller_browsertest.cc View 1 14 chunks +519 lines, -77 lines 0 comments Download
M chrome/browser/chromeos/login/login_display.h View 2 chunks +6 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/login/mock_login_display.h View 1 chunk +40 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/login/mock_login_display.cc View 1 chunk +20 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/login/mock_login_display_host.h View 1 chunk +42 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/login/mock_login_display_host.cc View 1 chunk +17 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/mock_user_manager.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/mock_user_manager.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/webui_login_display.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/login/webui_login_display.cc View 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/webui_screen_locker.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/webui_screen_locker.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/policy/device_local_account_policy_store.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc View 1 2 chunks +15 lines, -1 line 0 comments Download
M chrome/browser/chromeos/policy/proto/chrome_device_policy.proto View 1 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/settings/cros_settings_names.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/settings/cros_settings_names.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/settings/device_settings_provider.cc View 4 chunks +35 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 chunks +7 lines, -2 lines 0 comments Download
M chrome/test/data/policy/policy_test_cases.json View 1 1 chunk +6 lines, -0 lines 0 comments Download
M chromeos/chromeos.gyp View 1 1 chunk +2 lines, -0 lines 0 comments Download
A chromeos/dbus/fake_session_manager_client.h View 1 chunk +81 lines, -0 lines 0 comments Download
A chromeos/dbus/fake_session_manager_client.cc View 1 chunk +144 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
dconnelly
I manually ran the linux_chromeos try bot and this appears to have fixed the flakiness. ...
7 years, 9 months ago (2013-03-18 21:42:31 UTC) #1
Mattias Nissler (ping if slow)
Where's the change exactly? Do I have to review the entire CL again? ;)
7 years, 9 months ago (2013-03-19 04:56:45 UTC) #2
dconnelly1
Whoops, sorry. It's lines 462-468 of https://codereview.chromium.org/12457029/diff/1/chrome/browser/chromeos/login/existing_user_controller_browsertest.cc On Mon, Mar 18, 2013 at 9:56 PM, ...
7 years, 9 months ago (2013-03-19 05:06:14 UTC) #3
Mattias Nissler (ping if slow)
LGTM then https://codereview.chromium.org/12457029/diff/1/chrome/browser/chromeos/login/existing_user_controller_browsertest.cc File chrome/browser/chromeos/login/existing_user_controller_browsertest.cc (right): https://codereview.chromium.org/12457029/diff/1/chrome/browser/chromeos/login/existing_user_controller_browsertest.cc#newcode466 chrome/browser/chromeos/login/existing_user_controller_browsertest.cc:466: DCHECK(store); Remove this DCHECK, we'll crash below ...
7 years, 9 months ago (2013-03-19 05:24:41 UTC) #4
bartfab (slow)
lgtm
7 years, 9 months ago (2013-03-19 10:26:36 UTC) #5
Nikita (slow)
On 2013/03/19 05:06:14, dconnelly_google.com wrote: > Whoops, sorry. It's lines 462-468 of > https://codereview.chromium.org/12457029/diff/1/chrome/browser/chromeos/login/existing_user_controller_browsertest.cc > ...
7 years, 9 months ago (2013-03-19 11:27:46 UTC) #6
dconnelly
https://codereview.chromium.org/12457029/diff/1/chrome/browser/chromeos/login/existing_user_controller_browsertest.cc File chrome/browser/chromeos/login/existing_user_controller_browsertest.cc (right): https://codereview.chromium.org/12457029/diff/1/chrome/browser/chromeos/login/existing_user_controller_browsertest.cc#newcode466 chrome/browser/chromeos/login/existing_user_controller_browsertest.cc:466: DCHECK(store); On 2013/03/19 05:24:41, Mattias Nissler wrote: > Remove ...
7 years, 9 months ago (2013-03-19 17:40:08 UTC) #7
dconnelly
hi satorux---I need your OWNER approval again for this stuff in chromeos/dbus. The original CL ...
7 years, 9 months ago (2013-03-19 18:11:06 UTC) #8
dconnelly
hi satorux, since none of the dbus/ stuff changed since the last time you reviewed ...
7 years, 9 months ago (2013-03-19 23:59:32 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dconnelly@chromium.org/12457029/22001
7 years, 9 months ago (2013-03-20 01:03:14 UTC) #10
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=124726
7 years, 9 months ago (2013-03-20 02:30:26 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dconnelly@chromium.org/12457029/22001
7 years, 9 months ago (2013-03-20 05:18:21 UTC) #12
commit-bot: I haz the power
7 years, 9 months ago (2013-03-20 09:21:38 UTC) #13
Message was sent while issue was closed.
Change committed as 189225

Powered by Google App Engine
This is Rietveld 408576698