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

Issue 79113002: kiosk: Network connectivity test during launch. (Closed)

Created:
7 years, 1 month ago by xiyuan
Modified:
7 years ago
CC:
chromium-reviews, arv+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org, zel
Visibility:
Public.

Description

kiosk: Network connectivity test during launch. - Add NetworkStateInformer and ErrorScreenActor to AppLaunchSplashScreenHandler; - AppLaunchSplashScreenHandler sends network state to its delegate (AppLaunchController) during network check; - AppLaunchController decides when to show network configure UI and call AppLaunchSplashScreenActor to show it (via ErrorScreenActor); - Show network config UI for enterprise kiosk; - Add a 'Reboot' button for kiosk network error; - Add a PromptForNetworkWhenOffline boolean field to DeviceLocalAccountsProto to control whether to show network config UI for enterprise managed kiosk; BUG=314710 TEST=KioskTest.LaunchAppNetworkDown/Portal Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=238873

Patch Set 1 #

Patch Set 2 : hide spacer for non-kiosk error #

Total comments: 13

Patch Set 3 : address comments in #2 #

Patch Set 4 : rebase, show portal config after timeout #

Patch Set 5 : rebase, add policy and only show network error screen once #

Total comments: 13

Patch Set 6 : for #5 #

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+448 lines, -197 lines) Patch
M chrome/app/policy/policy_templates.json View 1 2 3 4 5 4 chunks +19 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/app_mode/app_launch_utils.cc View 1 2 3 chunks +9 lines, -28 lines 0 comments Download
M chrome/browser/chromeos/app_mode/startup_app_launcher.h View 1 2 3 chunks +15 lines, -17 lines 0 comments Download
M chrome/browser/chromeos/app_mode/startup_app_launcher.cc View 1 2 3 6 chunks +17 lines, -40 lines 0 comments Download
M chrome/browser/chromeos/login/app_launch_controller.h View 1 2 7 chunks +17 lines, -8 lines 0 comments Download
M chrome/browser/chromeos/login/app_launch_controller.cc View 1 2 3 4 10 chunks +77 lines, -30 lines 0 comments Download
M chrome/browser/chromeos/login/kiosk_browsertest.cc View 1 2 3 4 5 6 12 chunks +93 lines, -57 lines 0 comments Download
M chrome/browser/chromeos/login/screens/app_launch_splash_screen_actor.h View 2 chunks +11 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/test/oobe_screen_waiter.h View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/test/oobe_screen_waiter.cc View 1 chunk +7 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/settings/device_settings_provider.cc View 1 2 3 4 4 chunks +16 lines, -3 lines 0 comments Download
M chrome/browser/policy/proto/chromeos/chrome_device_policy.proto View 1 2 3 4 5 1 chunk +11 lines, -1 line 0 comments Download
M chrome/browser/resources/chromeos/login/screen_error_message.css View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/login/screen_error_message.js View 1 1 chunk +14 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/app_launch_splash_screen_handler.h View 3 chunks +18 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/app_launch_splash_screen_handler.cc View 1 2 3 4 4 chunks +87 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/error_screen_handler.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/error_screen_handler.cc View 1 2 3 4 5 4 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/oobe_ui.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M chrome/test/data/policy/policy_test_cases.json View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chromeos/settings/cros_settings_names.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chromeos/settings/cros_settings_names.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
xiyuan
7 years, 1 month ago (2013-11-20 19:02:37 UTC) #1
zel
I would also add a policy for letting kiosk users mess with network settings (default: ...
7 years, 1 month ago (2013-11-20 19:21:20 UTC) #2
xiyuan
On 2013/11/20 19:21:20, zel wrote: > I would also add a policy for letting kiosk ...
7 years, 1 month ago (2013-11-20 21:41:21 UTC) #3
Tim Song
https://codereview.chromium.org/79113002/diff/30001/chrome/browser/chromeos/app_mode/app_launch_utils.cc File chrome/browser/chromeos/app_mode/app_launch_utils.cc (right): https://codereview.chromium.org/79113002/diff/30001/chrome/browser/chromeos/app_mode/app_launch_utils.cc#newcode40 chrome/browser/chromeos/app_mode/app_launch_utils.cc:40: startup_app_launcher_->ContinueWithNetworkReady(); On 2013/11/20 19:21:21, zel wrote: > what if ...
7 years, 1 month ago (2013-11-21 01:12:16 UTC) #4
xiyuan
https://codereview.chromium.org/79113002/diff/30001/chrome/browser/chromeos/app_mode/app_launch_utils.cc File chrome/browser/chromeos/app_mode/app_launch_utils.cc (right): https://codereview.chromium.org/79113002/diff/30001/chrome/browser/chromeos/app_mode/app_launch_utils.cc#newcode40 chrome/browser/chromeos/app_mode/app_launch_utils.cc:40: startup_app_launcher_->ContinueWithNetworkReady(); On 2013/11/21 01:12:17, Tim Song wrote: > On ...
7 years, 1 month ago (2013-11-21 22:39:39 UTC) #5
Tim Song
lgtm
7 years, 1 month ago (2013-11-22 18:47:44 UTC) #6
xiyuan
Mattias, could you help review the policy change part? chrome/app/policy/policy_templates.json chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc chrome/browser/chromeos/settings/device_settings_provider.cc chrome/browser/policy/proto/chromeos/chrome_device_policy.proto and AppLaunchController::CanConfigureNetwork ...
7 years ago (2013-12-03 23:37:28 UTC) #7
Mattias Nissler (ping if slow)
Enterprise stuff LGTM w/ nit, adding Joao for policy_templates.json https://codereview.chromium.org/79113002/diff/340001/chrome/browser/policy/proto/chromeos/chrome_device_policy.proto File chrome/browser/policy/proto/chromeos/chrome_device_policy.proto (right): https://codereview.chromium.org/79113002/diff/340001/chrome/browser/policy/proto/chromeos/chrome_device_policy.proto#newcode320 chrome/browser/policy/proto/chromeos/chrome_device_policy.proto:320: ...
7 years ago (2013-12-04 10:15:07 UTC) #8
Joao da Silva
policy_templates.json looks good but I'd like to understand why some of the public accounts policies ...
7 years ago (2013-12-04 10:45:19 UTC) #9
Mattias Nissler (ping if slow)
https://codereview.chromium.org/79113002/diff/340001/chrome/app/policy/policy_templates.json File chrome/app/policy/policy_templates.json (right): https://codereview.chromium.org/79113002/diff/340001/chrome/app/policy/policy_templates.json#newcode3889 chrome/app/policy/policy_templates.json:3889: 'future': True, On 2013/12/04 10:45:19, Joao da Silva wrote: ...
7 years ago (2013-12-04 11:33:34 UTC) #10
Joao da Silva
OK, policy_templates.json lgtm after removing the 'future' keys from the public accounts policies. Please consider ...
7 years ago (2013-12-04 12:42:49 UTC) #11
xiyuan
https://codereview.chromium.org/79113002/diff/340001/chrome/app/chromeos_strings.grdp File chrome/app/chromeos_strings.grdp (right): https://codereview.chromium.org/79113002/diff/340001/chrome/app/chromeos_strings.grdp#newcode652 chrome/app/chromeos_strings.grdp:652: Reboot On 2013/12/04 10:45:19, Joao da Silva wrote: > ...
7 years ago (2013-12-04 18:24:59 UTC) #12
xiyuan
asvitkine@, could you help with a owner's stamp on histograms.xml? zel@, also need your stamp ...
7 years ago (2013-12-04 19:10:45 UTC) #13
Alexei Svitkine (slow)
histograms lgtm
7 years ago (2013-12-04 19:12:30 UTC) #14
zel
lgtm
7 years ago (2013-12-04 19:57:32 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xiyuan@chromium.org/79113002/380001
7 years ago (2013-12-04 22:11:51 UTC) #16
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) app_list_unittests, cacheinvalidation_unittests, cc_unittests, check_deps, chromedriver2_unittests, components_unittests, ...
7 years ago (2013-12-04 22:18:45 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xiyuan@chromium.org/79113002/380001
7 years ago (2013-12-04 23:16:54 UTC) #18
commit-bot: I haz the power
7 years ago (2013-12-05 03:26:02 UTC) #19
Message was sent while issue was closed.
Change committed as 238873

Powered by Google App Engine
This is Rietveld 408576698