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

Issue 711433002: Enable device disabling during normal operation (Closed)

Created:
6 years, 1 month ago by bartfab (slow)
Modified:
6 years, 1 month ago
CC:
chromium-reviews, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@f_4_425574_add_device_disabling_manager
Project:
chromium
Visibility:
Public.

Description

Enable device disabling during normal operation This CL enables device disabling during normal operation: The management server can disable a device by sending the device disabled flag with the next device policy update. The server can re-enable the device by clearing the flag with a future policy update. The flag is persisted along with the entire device policy blob on the device. As long as the flag is set, the device will prevent logins and will show a device disabled screen instead. When the flag first becomes set, the device terminates the current session (if any) and switches to the device disabled screen immediately. BUG=425574 TEST=New unit and browser tests Committed: https://crrev.com/9ce0dc311ee3397218bd1b45f94e481f0b7b1ecd Cr-Commit-Position: refs/heads/master@{#303241}

Patch Set 1 #

Patch Set 2 : Rebased. #

Patch Set 3 : Rebased. #

Patch Set 4 : Rebased. #

Total comments: 18

Patch Set 5 : Addressed comments. #

Patch Set 6 : Address one more comment I had missed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+816 lines, -67 lines) Patch
M chrome/browser/browser_process_platform_part_chromeos.h View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/browser_process_platform_part_chromeos.cc View 1 2 3 4 2 chunks +9 lines, -1 line 0 comments Download
M chrome/browser/chromeos/chrome_browser_main_chromeos.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/existing_user_controller.cc View 1 2 3 2 chunks +15 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/screens/device_disabled_screen.h View 2 chunks +13 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/login/screens/device_disabled_screen.cc View 1 4 chunks +13 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/login/screens/device_disabled_screen_actor.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/login/screens/mock_device_disabled_screen_actor.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/login/wizard_controller.cc View 1 1 chunk +9 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/system/device_disabling_browsertest.cc View 1 2 3 4 5 1 chunk +94 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/system/device_disabling_manager.h View 1 2 3 4 2 chunks +77 lines, -8 lines 0 comments Download
M chrome/browser/chromeos/system/device_disabling_manager.cc View 1 2 3 4 2 chunks +136 lines, -5 lines 0 comments Download
A chrome/browser/chromeos/system/device_disabling_manager_default_delegate.h View 1 2 3 4 1 chunk +30 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/system/device_disabling_manager_default_delegate.cc View 1 2 3 4 1 chunk +29 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/system/device_disabling_manager_unittest.cc View 1 2 3 4 6 chunks +374 lines, -44 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/device_disabled_screen_handler.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/device_disabled_screen_handler.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/chrome_browser_chromeos.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
bartfab (slow)
Hi Lei, Could you please take a look at: chrome/browser/browser_process_platform_part_chromeos.cc Hi Achuith, Could you please ...
6 years, 1 month ago (2014-11-06 15:47:29 UTC) #2
Denis Kuznetsov (DE-MUC)
lgtm for chrome/browser/chromeos/login/* chrome/browser/ui/webui/chromeos/login/*
6 years, 1 month ago (2014-11-06 17:03:41 UTC) #3
Lei Zhang
chrome/browser/browser_process_platform_part_chromeos.cc lgtm
6 years, 1 month ago (2014-11-06 18:50:56 UTC) #4
achuithb
lgtm Do you have a primary reviewer? I just see the various owners. I didn't ...
6 years, 1 month ago (2014-11-07 00:15:17 UTC) #6
bartfab (slow)
Hi Julian, Could you take a look at the feature overall? I have approval from ...
6 years, 1 month ago (2014-11-07 10:11:37 UTC) #8
pastarmovj
lgtm
6 years, 1 month ago (2014-11-07 15:32:50 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/711433002/120001
6 years, 1 month ago (2014-11-07 15:33:55 UTC) #11
commit-bot: I haz the power
Committed patchset #6 (id:120001)
6 years, 1 month ago (2014-11-07 16:28:20 UTC) #12
commit-bot: I haz the power
6 years, 1 month ago (2014-11-07 16:29:03 UTC) #13
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/9ce0dc311ee3397218bd1b45f94e481f0b7b1ecd
Cr-Commit-Position: refs/heads/master@{#303241}

Powered by Google App Engine
This is Rietveld 408576698